A full-stack web application for ordering coffee online with order tracking and admin dashboard functionality.
Coffee Order App is a coffee ordering platform built with Go backend and React frontend. It allows users to browse a coffee menu, add items to cart, checkout, and track their orders. Administrators can manage the menu, view orders, and update order statuses.
- Language: Go
- Architecture: RESTful API with handlers and middleware
- Framework: React 18+ with TypeScript
- Styling: Tailwind CSS
- Build Tool: Vite
- State Management: React Context API
- User Authentication: Signup and login functionality
- Product Catalog: Browse coffee menu organized by categories
- Shopping Cart: Add/remove items and manage quantities
- Checkout: Complete order placement
- Order Tracking: Real-time order status tracking
- Order History: View past orders
- User Profile: Manage user account information
- Admin Dashboard: Manage menu, view orders, and update statuses
- Go 1.25 or higher
- Node.js 18+ and npm
-
Navigate to the backend directory:
cd backend -
Install Go dependencies:
go mod download
-
Configure your database in
config/database.go -
Run the backend server:
go run main.go
The API will be available at
http://localhost:8080(or your configured port)
-
Navigate to the frontend directory:
cd frontend -
Install dependencies:
npm install
-
Start the development server:
npm run dev
The application will be available at
http://localhost:5173(Vite default)
