Skip to content

daveortega/users-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JWT-Authentication NodeJs (API)

This is a Nodejs Application that supports Token based Authentication with JWT. The base of the project was taken from bezkoder at How to Build an Authentication API with JWT Token in Node.js.

Prerequisites

Database

A new collection 'jwt-project' was created in MongoDB. The name is not relevant since the collection name is updated in .env file.

  • Mongo commands MAC Terminal:

    • To check the database is running:

      brew services

    • To create the new collection was

      use jwt-project

    • To check the collection data

      db.users.find()

Postman collection

As part of this repository in the resources path at /resources there is a postman collection that can be imported for testing purposes.

Each request shows a set of examples on the different API responses.

postman

Graphic User Interface

This project does not have a particular GUI, instead it is designed to be tested from the API endpoints.

About

This is a Nodejs Application that supports Token based Authentication with JWT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors