Simple reservation program that runs on NodeJS.
Here is a list of dependancies:
- express.js
- MongoDB
- bodyParser
- handlebars
- express-session
- mongoose
- passport-google-oauth
- socket.io
To run, in command prompt, navigate to the directory and enter:
npm install
nodejs server.js
then navigate to http://localhost:3000/ in any browser
It's not running and is giving me a lot of errors?
You are missing a file called keys.js inside the config folder. This file should follow the format of:
module.exports = {
google: {
clientID: "Your google client ID",
clientSecret: "Your google client secret",
},
mongodb: {
dbURI: "Mongodb URI"
},
session: {
cookieKey: 'Any cookie key'
}
};