This is an open source project with a basic set of features based on Node, Express and Mongo DB.
The following features are included:
- Folder structures
- Mongo database connection
- Redis database connection
- Router file
- Routes structure
- User controller
- User mongo model
- User sign up service
- User sign in service
- User sign out service
- Token creation after sign in
- Token delete after sign out
- Store token in redis database
- Password encryption
- Mocha unit tests for services
MongoDB NoSQL Database
Express Node.js framework
Mocha unit testing
- Clone the repository
- Install
mongodb
- Install
Node.js
- Install
Redis
- Adjust your connection configuration in
config/db.js
file - Run
node app.js
ornpm start
- To execute tests with Mocha run:
npm test
MIT, see LICENSE.md.