forked from angular-app/angular-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
16 lines (15 loc) · 1.04 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
path = require('path');
module.exports = {
mongo: {
dbUrl: 'https://api.mongolab.com/api/1/databases', // The base url of the MongoLab DB server
apiKey: '4fb51e55e4b02e56a67b0b66', // Our MongoLab API key
dbName: 'ascrum', // The name of database to which this server connect
usersCollection: 'users' // The name of the collection that will contain our 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)
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
}
};