Welcome to the E-Commerce Supplements Website project! This website is designed for users to browse and purchase supplements. It is built using Node.js, Express.js, MongoDB for the backend, and TypeScript with Next.js for the frontend.
- User authentication and authorization.
- Product catalog with detailed information.
- Shopping cart functionality.
- Secure checkout process.
- User reviews and ratings for products.
- Admin panel to manage products and orders.
-
Backend:
- Node.js
- Express.js
- MongoDB (with Mongoose)
- JWT for authentication
-
Frontend:
- TypeScript
- Next.js
- React
-
Others:
- Axios for HTTP requests
- TailwindCSS for styling
- NextUI for ready components
-
Clone the Repository:
git clone https://github.com/MOHAMAD-ZUBI/MERN-Ecommerce.git cd MERN-Ecommerce
-
Install Dependencies:
cd server npm install cd ../client npm install
-
Configure Environment Variables Create .env files in the server and client folders. Refer to .env.example files for required variables.
-
Run the Application:
cd ../server npm run dev cd ../client npm run dev
Backend: http://localhost:3060 Frontend: http://localhost:3000
server
/: Backend Node.js and Express.js code.
client
/: TypeScript Next.js frontend code.
Feel free to contribute! Fork, make changes, and submit a pull request. Follow coding style and conventions.
This project is licensed under the MIT License - see the LICENSE.md file for details.