You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-7Lines changed: 2 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,12 +70,7 @@ public/ # Static files and HTML views
70
70
```bash
71
71
yarn install
72
72
```
73
-
3. Create a `.env` file in the root with your environment variables:
74
-
```env
75
-
PORT=5000
76
-
MONGO_URI=mongodb://localhost:27017/your-db
77
-
JWT_SECRET=your_jwt_secret
78
-
```
73
+
3. Copy `.env.example` to `.env` and set your environment variables. For production, set `NODE_ENV=production` (logging is disabled in production; file and console logs run only in development).
79
74
4. Start the server:
80
75
```bash
81
76
yarn dev
@@ -147,7 +142,7 @@ See the `routes/` directory for all endpoints. Example:
147
142
148
143
## Troubleshooting
149
144
150
-
- See [troubleshooting.md](./troubleshooting.md) for common issues and solutions.
145
+
- See [troubleshooting.md](./docs/troubleshooting.md) for common issues and solutions.
0 commit comments