auth-backend icon indicating copy to clipboard operation
auth-backend copied to clipboard

This tutorial teaches how to create authentication for a user using nodejs and mongoDB

auth-backend

This tutorial teaches how to create authentication for a user using nodejs and mongoDB.

I have shown how Authentication can be achieved using nodejs and mongoDB in my series entitled: "Authentication with Nodejs and mongoDB". Check them out below:

  1. Authentication with Nodejs and mongoDB - Part 1

  2. Authentication with Nodejs and mongoDB - Part 2

  3. Authentication with Nodejs and mongoDB - Part 3

  4. Authentication with Nodejs and mongoDB - Part 4

  5. Hosting a Nodejs and MongoDB App on Heroku

Dependences

SETTING UP

  • Clone the repositury to your machine
  • Open up a terminal
  • Navigate into the project directory
  • Run npm install to install all needed dependencies
  • Run nodemon index to spin up the server
  • The server runs on port 3000 http://localhost:3000/