Skip to content

shuvrojit/simple-auth-api

Repository files navigation

Introduction

This project is developed with Node(Express), mongodb(mongoose) and docker container.

user routes

POST {baseurl}/users/signup

POST {baseurl}/users/login

GET {baseurl}/users/logout

signup, login will fill the cookie with jwtToken

logout will clear the cookie with jwtToken

About

Simple and minimal auth using mongodb with protected and admin routes

Resources

Stars

Watchers

Forks