A simple yet functional fullstack e-commerce website built using React, Node.js, Express, and MongoDB. This project serves as a foundational implementation of a complete e-commerce system with user authentication, product management, and cart functionality.
- 🛒 Product listing
- 📦 Order management (basic)
- 💻 Frontend with React & Chakra
- 🌐 Backend API with Express.js
- 📁 MongoDB for database storage
Frontend:
- React
- React Router
- Chakra v2
- Vite
Backend:
- Node.js
- Express
- MongoDB
- Mongoose
- dotenv
fullstack-e-commerce-website-basic/
│
├── backend/ # Node.js + Express backend
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ └── server.js
│
├── frontend/ # React frontend
│ ├── public/
│ └── src/
│ ├── components/
│ ├── pages/
│ ├── App.jsx
│ └── main.jsx
│
└── README.mdgit clone https://github.com/namaelsan/fullstack-e-commerce-website-basic
cd fullstack-e-commerce-website-basic# Create a .env file and add your MongoDB connection string:
# MONGO_URI=your_mongo_connection_string
npm run buildnpm run startThe frontend and backend will run on http://localhost:PORT.
Create a .env file in the root directory with the following:
MONGO_URI=your_mongodb_connection_string
PORT=5000
- Payment integration (e.g., Stripe)
- Admin dashboard
- Product search and filter
- Responsive design improvements
This project is licensed under the GPL License.

