A fullstack authentication built with React + Vite, Node.js + Express, Prisma.
Frontend is deployed on Netlify and backend is deployed on Render.
Frontend: https://earnest-semolina-a8d684.netlify.app/
Backend: https://assignment-fullstack-auth.onrender.com
- User registration
- User login
- Form validation (Zod + React Hook Form)
- Secure password handling
- API integration
- Deployment on Netlify and Render
- TypeScript
- React + Vite
- React Hook Form
- Zod validation
- Axios
- TypeScript
- Node.js + Express
- Prisma ORM
- Zod validation
git clone https://github.com/illuricharles/assignment-fullstack-auth.git
cd assignment-fullstack-authBackend
Copy .env.example to .env:
cd backend
cp .env.example .envUpdate the values inside .env (DATABASE_URL, JWT_SECRET, etc.)
Frontend
Copy .env.example to .env:
cd ../frontend
cp .env.example .envset:
VITE_API_URL=http://localhost:3000Backend
cd ../backend
npm install
Frontend
cd ../frontend
npm install
cd backend
npx prisma generate
npx prisma migrate deploy
npm run dev
Backend runs at:
http://localhost:3000
Start Frontend
cd frontend
npm run dev
Frontend runs at:
http://localhost:5173