An interactive web application for odering pharmaceutical iteams & E-channelling.
-
🔐 User Authentication
- Secure login and signup functionality
- JWT-based authentication
-
🍪 Snack Exploration
- Browse pharmaceutical iteams
- Search functionality
-
🛒 Shopping Experience
- Add pharmaceutical iteams to cart
- Adjust quantities
- Place and track orders
-
🧑💼 Admin Dashboard
- Product management (add, edit, remove)
- User management
- Order tracking and fulfillment
| Frontend | Backend | Database | Authentication |
|---|---|---|---|
| React | Node.js | MongoDB | JWT |
| Material UI | Express | Mongoose | - |
- Node.js (v14.x or higher)
- npm (v6.x or higher)
- MongoDB (local or Atlas)
-
Clone the Repository
git clone https://github.com/Ellio-Dredd/Snack-Overflow.git cd Snack-Overflow -
Environment Setup
Create a
.envfile in the root directory with the following variables:MONGODB_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret_key PORT=5000
-
Install Dependencies
npm install
-
Start the Development Server
npm start
-
Access the Application
- Frontend:
http://localhost:3000 - Backend API:
http://localhost:5000/api
- Frontend:
Snack-Overflow/
├── client/ # Frontend React application
│ ├── public/
│ ├── src/
│ │ ├── components/
│ │ ├── pages/
│ │ ├── services/
│ │ └── App.js
├── server/ # Backend Node.js application
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ └── server.js
├── .env # Environment variables
├── package.json
└── README.md
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
For any queries or suggestions, feel free to:
- Open an issue on GitHub
- Contact the team via GitHub
This project is licensed under the MIT License - see the LICENSE file for details.