DEV Community

Said Mounaim
Said Mounaim

Posted on

Node.js API Authentication With JWT

UserAuth

Node.js API Authentication With JWT

Features:

  • Authentication

Technology Stack:

  • Node js
  • Express Js
  • MongoDB
  • JWT

Default urls:

  • Login User : localhost:5000/api/login
  • Register User : localhost:5000/api/user

Usage

"/.env" update the values/settings to your own

Install Dependencies

npm install
Enter fullscreen mode Exit fullscreen mode

Run App

# Run in dev mode
npm run server

Enter fullscreen mode Exit fullscreen mode

Github Repo : https://github.com/saidMounaim/UserAuth

Discussion (0)