Login works
This commit is contained in:
23
backend/.env.example
Normal file
23
backend/.env.example
Normal file
@@ -0,0 +1,23 @@
|
||||
PORT=3000
|
||||
DB_HOST=nw.sgcode.cn
|
||||
DB_PORT=21434
|
||||
DB_USER=root
|
||||
DB_PASSWORD=root
|
||||
DB_NAME=opencoze
|
||||
PORT=3000
|
||||
DB_HOST=nw.sgcode.cn
|
||||
DB_PORT=21434
|
||||
DB_USER=root
|
||||
DB_PASSWORD=YOUR_DATABASE_PASSWORD
|
||||
DB_NAME=opencoze
|
||||
PORT=3001
|
||||
JWT_SECRET=change-this-in-production
|
||||
CORS_ORIGIN=*
|
||||
|
||||
# MySQL connection (from your screenshot)
|
||||
DB_HOST=nw.sgcode.cn
|
||||
DB_PORT=21434
|
||||
DB_NAME=opencoze
|
||||
DB_USER=root
|
||||
DB_PASSWORD=your_real_password_here
|
||||
DB_TABLE_USER=user
|
||||
Reference in New Issue
Block a user