Skip to content

tuqabcu/iRet-v1-backend

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published