Add .envtemplate and update readme

This commit is contained in:
2025-08-09 16:33:11 +01:00
parent 7dc99f847c
commit 371f48b42f
2 changed files with 12 additions and 1 deletions

View File

@@ -67,10 +67,14 @@ recipe-management-app/
npm install
```
3. Create a `.env` file with your configuration:
3. Create a `.env` file with your configuration using a copy of the `.envtemplate` file (for example):
```
PORT=5000
MONGODB_URI=mongodb://localhost:27017/recipe-management
MONGODB_USERNAME=admin
MONGODB_PASSWORD=password123
MONGODB_PORT=27017
MONGODB_DATABASE=recipe-management
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
```