A full-stack web application built with the MERN (MongoDB, Express, React, Node.js) stack to help clients interact with SupplyCo shops. The platform provides real-time product availability, user and shop-owner authentication, and a seamless shopping experience.
- Signup/Login with secure authentication
- Search SupplyCo shops by location
- View available products in each shop
- Add products to cart
- Place and manage orders
- Signup/Login
- Add, update, or remove products
- View orders from clients
- Manage inventory
- View all users and shop owners
- Manage product categories and user permissions
| Frontend | Backend | Database | Other Tools |
|---|---|---|---|
| React.js | Node.js | MongoDB | Tailwind CSS |
| React Router | Express.js | Mongoose | JWT Authentication |
| Redux (optional) | RESTful APIs | Axios, dotenv, bcrypt |
## ποΈ Project Structure
supplyco/
β
βββ client/ # React frontend
β βββ public/
β βββ src/
β βββ package.json
|
βββ server/ # Node/Express backend
β βββ models/
β βββ routes/
β βββ controllers/
β βββ .env β
| βββ server.js
β
βββ README.md
## βοΈ Installation & Setup
### 1. Clone the Repository
git clone https://github.com/midhunwalker/Supplyco-reactjs.git
cd Supplyco-reactjs
### Setup Frontend
cd ../client
npm install
npm start
Create a .env file in the server folder and add:
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret_key
PORT=5000
Setup Backend
cd server
npm install
node index.js
π Live Demo
πΈ Screenshots
π§βπ» Author
Midhun P
π GitHub
π LinkedIn
π License
This project is licensed under the MIT License - feel free to use and modify for personal or commercial use.