This project is a simple login application with a React frontend and a Node.js backend. It uses Material-UI for styling, Zustand for state management, and includes a mock authentication system.
- Set up the frontend:
cd frontend npm install
- Set up the backend:
cd ../backend npm install
- Configure environment variables:
- Edit
frontend/.env
:VITE_API_URL=http://localhost:3001
- Edit
backend/.env
:PORT=3001
- Start the backend server:
cd backend npm start
- In a new terminal, start the frontend development server:
cd frontend npm run dev
- Modern UI with Material-UI components
- Responsive design
- State management with Zustand
- Toast notifications for login feedback
- Mock authentication system
For testing purposes, use the following credentials:
- Username: user
- Password: password