DEV Community

dev tips
dev tips

Posted on

MERN app with authentication using JWTs

mern-auth

Minimal full-stack MERN app with authentication using JWTs.

Technology Stack:

  • Node js
  • Express Js
  • MongoDB
  • JWT
  • React

Usage

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

Install Dependencies

// Install dependencies for server
npm install

// Install dependencies for client
// Go to frontend folder
cd frontend

// Install dependencies
npm install

Enter fullscreen mode Exit fullscreen mode

Run App

// Run server
npm run

// for client
// Go to frontend folder
cd frontend

// Run
npm start

Enter fullscreen mode Exit fullscreen mode

Github Repo : https://github.com/saidMounaim/mern-auth

Top comments (0)