- Framework: ExpressJS
- Database: MongoDB
- Authentication: JSON Web Token
- origin: restaurants.json
Postman APIs collection and environment can be imported from ./postman/
Update the ./config.js
file
module.exports = {
saltRounds: 10,
jwtSecretSalt: '87908798',
devMongoUrl: 'mongodb://localhost/kane',
prodMongoUrl: 'mongodb://localhost/kane',
testMongoUrl: 'mongodb://localhost/test',
}
mongod
bash ./data/import.sh
npm start
npm run dev