chore: file formatting
This commit is contained in:
@@ -35,6 +35,7 @@ npm run create-user <username> <password> [role] # role defaults to "admin"
|
||||
```
|
||||
|
||||
In Docker, create an admin via:
|
||||
|
||||
```bash
|
||||
docker exec -it gg-backend-api-backend-1 node src/utils/createUser.js <name> <password> <role>
|
||||
```
|
||||
@@ -86,6 +87,7 @@ Note the natural-key relations: `Appointment.doctorId` references `Doctor.doctor
|
||||
## Environment variables
|
||||
|
||||
`backend/.env`:
|
||||
|
||||
```
|
||||
DATABASE_URL=postgresql://user:password@db:5432/mydb
|
||||
PORT=5008
|
||||
@@ -97,6 +99,7 @@ EMAIL_FROM=admin@example.com
|
||||
```
|
||||
|
||||
`frontend/.env`:
|
||||
|
||||
```
|
||||
VITE_API_URL=http://localhost:5008/api
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user