forked from angular-app/angular-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
19 lines (18 loc) · 1.22 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
path = require('path');
module.exports = {
mongo: {
dbUrl: 'https://api.mongolab.com/api/1', // The base url of the MongoLab DB server
apiKey: '4fb51e55e4b02e56a67b0b66' // Our MongoLab API key
},
security: {
dbName: 'ascrum', // The name of database that contains the security information
usersCollection: 'users' // The name of the collection contains user information
},
server: {
listenPort: 3000, // The port on which the server is to listen (means that the app is at http://localhost:3000 for instance)
securePort: 8433, // The HTTPS port on which the server is to listen (means that the app is at https://localhost:8433 for instance)
distFolder: path.resolve(__dirname, '../client/dist'), // The folder that contains the application files (note that the files are in a different repository) - relative to this file
staticUrl: '/static', // The base url from which we serve static files (such as js, css and images)
cookieSecret: 'angular-app' // The secret for encrypting the cookie
}
};