Skip to content

Latest commit

 

History

History
79 lines (54 loc) · 1.88 KB

README.md

File metadata and controls

79 lines (54 loc) · 1.88 KB

JWT-Authentication-Nextjs

This repository hosts the source code for a user authentication platform built with Next.js, MongoDB, JWT, Bcrypt and Tailwind CSS. The application features user registration and login, utilizing JWT for secure authentication, along with a responsive UI built with Shadcn components.

Demo

Features

  • User registration and login with JWT authentication
  • Responsive design with Tailwind CSS
  • Beautifully styled forms and user interface using Shadcn components
  • Seamless API calls made using Next.js server actions
  • Easy integration with MongoDB for data management
  • Store JWT Token in Cookie

Screenshots

Login

  • Login Page

Signup

  • Signup Page

Home

  • Home Page

Run Locally

Clone the project

   https://github.com/Mshandev/JWT-Authentication-Nextjs.git

Go to the project directory

    cd JWT-Authentication-Nextjs

Install dependencies

    npm install

Setup Environment Vaiables

  JWT_SECRET=YOUR_KEY
  MONGO_URI = YOUR-MONGO-URL

Start the server

    npm run dev

Tech Stack

Deployment

The application is deployed on Vercel.

Contributing

Contributions are always welcome! Just raise an issue, and we will discuss it.

Feedback

If you have any feedback, please reach out to me here