Initial commit - Projet Managerr
This commit is contained in:
commit
848a79a04e
36 changed files with 3850 additions and 0 deletions
18
config/.env.example
Normal file
18
config/.env.example
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Variables d'environnement pour l'application Managerr
|
||||
|
||||
# Port du serveur backend
|
||||
PORT=5000
|
||||
|
||||
# URI MongoDB
|
||||
MONGODB_URI=mongodb://localhost:27017/managerr
|
||||
|
||||
# Secret JWT
|
||||
JWT_SECRET=votre_secret_jwt_securise
|
||||
|
||||
# Configuration API Sonarr
|
||||
SONARR_API_URL=http://localhost:8989/api/v3
|
||||
SONARR_API_KEY=votre_cle_api_sonarr
|
||||
|
||||
# Configuration API Radarr
|
||||
RADARR_API_URL=http://localhost:7878/api/v3
|
||||
RADARR_API_KEY=votre_cle_api_radarr
|
||||
5
config/radarr.js
Normal file
5
config/radarr.js
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// Configuration pour Radarr API
|
||||
module.exports = {
|
||||
baseURL: process.env.RADARR_API_URL || 'http://localhost:7878/api/v3',
|
||||
apiKey: process.env.RADARR_API_KEY || 'votre-clé-api-radarr'
|
||||
};
|
||||
5
config/sonarr.js
Normal file
5
config/sonarr.js
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// Configuration pour Sonarr API
|
||||
module.exports = {
|
||||
baseURL: process.env.SONARR_API_URL || 'http://localhost:8989/api/v3',
|
||||
apiKey: process.env.SONARR_API_KEY || 'votre-clé-api-sonarr'
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue