1/1

NoSQL Project - MERN Stack Website
Sep 2023 - Dec 2023
CoffeeHub is a full-stack MERN coffee shop platform that streamlines product listings, ordering, and authentication with secure, performant data flows.
MongoDBReactJSExpressJSJavaScriptSchool ProjectNoSQL Databases
- Frontend: React.js with Axios and Context API for state management.
- Backend: Node.js and Express.js using a modular service-based architecture.
- Database: MongoDB stores user profiles, menu items, and order data.
- Authentication: Secure JWT-based auth via custom Express middleware.
- Users authenticate with JWTs.
- Middleware verifies tokens and restricts routes by role.
- Refresh tokens maintain secure sessions.
- User Registration & Login: Secure signup and login with hashed passwords and token-based sessions.
- Menu Management: Admins add, update, or remove products with pricing and availability.
- Cart & Checkout: Customers build carts and place orders.
- Order Tracking: Real-time status updates and admin monitoring.
- Admin Dashboard: Displays sales insights and active users.
/client (React frontend)
└── src/
├── components/
├── pages/
└── services/ (API handlers)
/server (Node.js backend)
├── controllers/
├── routes/
├── middleware/
└── models/