Skip to content

A simple Sign up and Login App using Next.js(React), TailwindCSS, Shadcn-ui, JWT, Express.js and MySQL.

License

Notifications You must be signed in to change notification settings

adhirajcs/userAuth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

userAuth

A simple Sign up and Login App using Next.js, Tailwind CSS, and MySQL.

Tech Stack

Frontend

  • Next.js (React)
  • TailwindCSS
  • Shadcn-UI

Backend

  • Express.js
  • MySQL
  • Nodemon (for development)

Authentication

  • JWT (JSON Web Tokens)

Folder Structure

  • /frontend - Next.js frontend application
  • /backend - Express.js backend server

Setup

Prerequisites

  • Bun installed on your machine
  • MySQL server

Installation

  1. Clone the repository
git clone https://github.com/adhirajcs/userAuth.git
cd userAuth
  1. Install dependencies for both frontend and backend
# Install frontend dependencies
cd frontend
bun install

# Install backend dependencies
cd ../backend
bun install
  1. Set up environment variables
# For backend
cd backend
  1. Start the development servers
# Start the backend server (uses nodemon for auto-reloading)
cd backend
bun dev

# In a new terminal, start the frontend server
cd frontend
bun dev
  1. Access the application:

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

About

A simple Sign up and Login App using Next.js(React), TailwindCSS, Shadcn-ui, JWT, Express.js and MySQL.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published