NextCommerce is a full-stack e-commerce application built with Next.js (client) and Express.js (server).
It includes product listing, product detail pages, authentication (Firebase email + Google), and product management features.
- User authentication (Email/Password + Google OAuth via Firebase)
- Product listing and detail pages
- Manage products (CRUD operations via Express + MongoDB)
- Styled with TailwindCSS + DaisyUI
- Responsive design
- Toast notifications for actions (login, register, delete, etc.)
- Node.js (v18 or later recommended)
- npm
- MongoDB instance (local or cloud, e.g., MongoDB Atlas)
- Firebase project (for authentication)
- Navigate to the client folder:
cd client
npm installYou Need to get the .env file from me
npm run devNavigate to the server folder:
cd servernpm installnpm installnpm installYou Need to get the .env file from me
nodemon index.jsThe server will run at http://localhost:5000.
Start the server:
cd server
nodemon index.jsIn another terminal, start the client:
cd client
npm run devOpen http://localhost:3000 in your browser. The client will fetch product data from http://localhost:5000/products.
Client (Next.js): Deploy easily on Vercel.
Server (Express.js): Deploy on Netlify, Railway, or Vercel.
Make sure to update API URLs in the client to point to your deployed server.