A simple Sign up and Login App using Next.js, Tailwind CSS, and MySQL.
- Next.js (React)
- TailwindCSS
- Shadcn-UI
- Express.js
- MySQL
- Nodemon (for development)
- JWT (JSON Web Tokens)
/frontend- Next.js frontend application/backend- Express.js backend server
- Bun installed on your machine
- MySQL server
- Clone the repository
git clone https://github.com/adhirajcs/userAuth.git
cd userAuth- Install dependencies for both frontend and backend
# Install frontend dependencies
cd frontend
bun install
# Install backend dependencies
cd ../backend
bun install- Set up environment variables
# For backend
cd backend- 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- Access the application:
- Frontend: http://localhost:3000
- Backend API: http://localhost:8080
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.