Food order app
Muhammed Rashid
Published
0
๐ Food Order Web Application
This is a fullstack food ordering web application built as a personal project to explore modern web development workflows and deployment strategies.
โจ Features
Users can:
- ๐ Register an account
- ๐ Log in / log out
- ๐ Add items to cart and update cart items
- ๐ณ Checkout the cart and create orders
- ๐ Re-add items from the orders page
- ๐๏ธ Delete past orders
๐งฐ Tech Stack
Frontend
- React for UI components
- Vite as the build tool and development server
- CSS3 for styling
Backend
- Express.js for RESTful API routes and server logic
- MongoDB for data persistence
- Mongoose for object modeling and database interaction
๐ Deployment
- Frontend is hosted on [Vercel](https://www.twine.net/signin
- Backend is hosted on [Northflank](https://www.twine.net/signin using Docker for containerized deployment.
๐ Architecture Overview
- The frontend communicates with the backend via HTTPS using RESTful API endpoints.
- Authentication and order processing are handled server-side, while cart management is handled on the client using local storage.
๐ ๏ธ Development Notes
- Vite was used for its fast dev server, hot module replacement, and optimized build output.
- Environment variables are injected at build time for both frontend and backend.
- CORS is configured to allow secure communication between Vercel and Northflank domains.
Thanks for reading!