Skip to content

API project model for node js + express + mongodb application based

License

Notifications You must be signed in to change notification settings

wolivera/node-express-mongo-seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Express Mongo Seed

This is an open source project with a basic set of features based on Node, Express and Mongo DB.

Content:

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

Main technologies used:

MongoDB NoSQL Database

Express Node.js framework

Mocha unit testing

Instalation:

  • Clone the repository
  • Install mongodb
  • Install Node.js
  • Install Redis
  • Adjust your connection configuration in config/db.js file
  • Run node app.js or npm start
  • To execute tests with Mocha run: npm test

LICENSE:

MIT, see LICENSE.md.

About

API project model for node js + express + mongodb application based

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published