Welcome to TopPizza, a React-based pizza ordering web application. This project showcases expertise in React, Node.js, SQLite, and Fastify by offering a full-stack implementation of a pizza ordering system.
- 🍕 Browse Pizzas: View available pizzas with detailed descriptions and pricing.
- 🎲 Pizza of the Day: Get a daily special pizza recommendation.
- 🛒 Cart & Orders: Add pizzas to the cart and place orders.
- 📜 Past Orders: View order history (per user) and order details.
- 🔗 API Integration: Seamless communication with a Fastify backend using SQLite.
- React 18 with Vite for fast development
- TanStack Router for routing
- TanStack React Query for data fetching
- Testing: Vitest and Playwright
- Fastify for a lightweight and fast Node.js server
- SQLite for a cost-effective and file-based database
- Node.js (latest LTS recommended)
- npm or yarn
git clone https://github.com/lokeshkarra/toppizza-client-app.git
cd toppizza-client-app
npm install
npm run dev
The frontend connects to a Fastify backend running on http://localhost:3000/
. The Vite proxy is configured to forward API requests to the backend.
Run unit and UI tests with:
npm run test
npm run test:ui
- 🔐 User Authentication for personalized past orders
- 💳 Payment Integration for real transactions
- 📈 Admin Dashboard for order management
👨💻 Developed by Lokeshwar Reddy Karra