https://github.com/oery/p7-backend
https://github.com/oery/p7-backend
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/oery/p7-backend
- Owner: Oery
- Created: 2024-02-23T13:42:51.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-25T09:58:03.000Z (about 1 year ago)
- Last Synced: 2024-12-02T15:23:52.228Z (6 months ago)
- Language: JavaScript
- Size: 84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Pour initialiser le projet :
- Créer un fichier ".env" à la racine du projet contenant les variables d'environnement suivantes :
```
# URL de la base de données
MONGODB_URL = "mongodb+srv://******:*****@****.****.mongodb.net/"
# URL de l'application React
APP_URL = "http://localhost:3000"
# Port sur lequel l'API est accessible
API_PORT = 4000
```- Installer les dépendances :
- `npm install`
- Lancer le projet :
- `npm start`