Skip to content

MERN stack skeleton application for authentication and authorization only🗝️, good starting point for any new project.

Notifications You must be signed in to change notification settings

taham8875/mern-auth-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

MERN Auth Skeleton

This is a MERN stack application with authentication.

Routes

Method Path Purpose
POST /api/users Register a new user
POST /api/users/login Authenticate a user and get the token
GET /api/users/logout Logout a user and clear the cookie
GET /api/users/profile Get a single user (protected route)
PUT /api/users/profile Update a user (protected route)

About

MERN stack skeleton application for authentication and authorization only🗝️, good starting point for any new project.

Topics

Resources

Stars

Watchers

Forks