Skip to content
Public template

About

PizzaShop is a modern pizza ordering platform built for a fast, smooth, and enjoyable food-ordering experience. It includes a stylish responsive interface, pizza menu, categories, product customization, cart, authentication, events, profile, order management, and admin features, all designed around a warm dark and orange visual identity online app.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ• PizzaShop

PizzaShop React 19 Vite 7 Tailwind CSS 4

πŸ”₯ A modern pizza ordering experience with a warm wood-fired visual identity.

Browse pizzas Β· Customize orders Β· Manage cart Β· Track orders Β· Control everything from Admin


πŸ• About

PizzaShop is a modern pizza ordering web application designed around a dark, warm and energetic restaurant aesthetic.

The project combines a customer-facing pizza shop with an integrated admin dashboard. It includes authentication, menu browsing, pizza customization, cart management, ordering, profiles, events, about pages and content/product management.

The current version is intentionally frontend-only and uses the browser's localStorage as a lightweight local database, so it can be started without a separate backend or database server.

⚑ Goal: make the ordering experience feel fast, visual and delicious β€” before the pizza even reaches the oven.


✨ Highlights

Feature Status
🏠 Responsive landing page βœ…
πŸ• Pizza menu βœ…
🏷️ Category filtering βœ…
πŸ“ Pizza size selection βœ…
βž•βž– Quantity controls βœ…
πŸ›’ Persistent shopping cart βœ…
πŸ” Register / Login / Logout βœ…
πŸ”‘ Password recovery demo flow βœ…
πŸ‘€ User profile βœ…
πŸ“¦ Order creation βœ…
🚚 Order status management βœ…
πŸŽ‰ Events page βœ…
ℹ️ About Us page βœ…
πŸ§‘β€πŸ’Ό Admin dashboard βœ…
πŸ• Admin product CRUD βœ…
πŸ‘₯ User management βœ…
πŸ“Š Order statistics βœ…
✏️ Editable website content βœ…
⏳ Branded pizza loading animation βœ…
πŸ“± Responsive UI βœ…
β™Ώ Reduced-motion support βœ…

🎨 Design

PizzaShop uses a wood-fired pizza visual direction:

  • πŸŒ‘ Deep brown / near-black backgrounds
  • πŸ”₯ Orange, amber and coral accents
  • πŸ• Large food photography and pizza illustrations
  • ✨ Soft glow and ember effects
  • 🧱 Bento-style event cards
  • πŸͺ„ Smooth hover and micro-interactions
  • πŸ“ Responsive layouts for desktop, tablet and mobile

🎨 Core palette

Background     β†’ #160904 / deep brown
Surface        β†’ #241007
Primary        β†’ #FFB347
Accent         β†’ #FF4E50
Text           β†’ #FFFFFF
Muted text     β†’ warm neutral tones

The visual language is shared across the customer interface while the admin area uses a more functional dashboard-oriented treatment.


🧩 Main Pages

🏠 Home

The landing page introduces the restaurant with:

  • Hero section
  • Pizza delivery message
  • Cooking preview
  • Primary order CTA
  • Featured menu
  • Popular pizza section
  • Events
  • About Us
  • Footer navigation

πŸ• Menu

Customers can:

  • Browse pizzas
  • Filter by category
  • Choose pizza size
  • Change quantity
  • View ingredients
  • See calculated prices
  • Add products to cart

πŸ›’ Cart

The cart provides:

  • Product overview
  • Quantity management
  • Price calculation
  • Delivery information
  • Order summary
  • Order creation

πŸ” Authentication

Includes:

  • Login
  • Registration
  • Logout
  • Password recovery flow
  • OTP demo flow
  • Protected routes

ℹ️ Authentication is currently local/demo authentication. It is not intended as production-grade security.

πŸ‘€ Profile

Logged-in users can access their profile and personal order information.

πŸŽ‰ Events

The events section uses a visual bento layout for restaurant promotions and activities.

ℹ️ About Us

A branded restaurant story section with imagery and supporting content.


πŸ§‘β€πŸ’Ό Admin Panel

The project includes a dedicated admin area.

πŸ“Š Dashboard

Displays high-level information such as:

  • Products
  • Orders
  • Users
  • Revenue
  • Order activity

πŸ• Products

Admins can:

  • Add products
  • Edit products
  • Delete products
  • Set categories
  • Set descriptions
  • Manage ingredients
  • Manage size/price options
  • Preview product information

πŸ“¦ Orders

Orders can be viewed and their status can be changed.

Typical flow:

πŸ• Pending
   ↓
βœ… Confirmed
   ↓
πŸ‘¨β€πŸ³ Preparing
   ↓
🚚 Delivering
   ↓
🏁 Delivered

Cancelled orders can also be marked separately.

πŸ‘₯ Users

Admins can inspect registered users and manage the locally stored user list.

✏️ Content

Selected website text/content can be edited from the admin panel and reflected on the customer-facing interface.


πŸ› οΈ Tech Stack

Frontend

  • βš›οΈ React 19
  • 🧭 React Router 7
  • 🎨 Tailwind CSS 4
  • ⚑ Vite 7
  • 🧩 React Icons

Development

  • ESLint
  • Vite
  • React Compiler tooling
  • SVG assets
  • WebP image assets

Storage

Browser
   β”‚
   └── localStorage
        β”œβ”€β”€ users
        β”œβ”€β”€ products
        β”œβ”€β”€ orders
        β”œβ”€β”€ cart
        └── site content

No external database is required for the current version.


πŸ“ Project Structure

Pizza-main/
β”‚
β”œβ”€β”€ public/
β”‚
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/
β”‚   β”‚   β”œβ”€β”€ imgs/
β”‚   β”‚   β”œβ”€β”€ logos/
β”‚   β”‚   └── pizza-loader.svg
β”‚   β”‚
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ header/
β”‚   β”‚   β”œβ”€β”€ sections/
β”‚   β”‚   └── shared/
β”‚   β”‚
β”‚   β”œβ”€β”€ context/
β”‚   β”‚   β”œβ”€β”€ AuthContext.jsx
β”‚   β”‚   └── CartContext.jsx
β”‚   β”‚
β”‚   β”œβ”€β”€ layouts/
β”‚   β”‚   β”œβ”€β”€ MainLayout.jsx
β”‚   β”‚   β”œβ”€β”€ Navbar.jsx
β”‚   β”‚   β”œβ”€β”€ Footer.jsx
β”‚   β”‚   └── admin/
β”‚   β”‚
β”‚   β”œβ”€β”€ lib/
β”‚   β”‚   └── localDb.js
β”‚   β”‚
β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   β”œβ”€β”€ Home.jsx
β”‚   β”‚   β”œβ”€β”€ Menu.jsx
β”‚   β”‚   β”œβ”€β”€ Cart.jsx
β”‚   β”‚   β”œβ”€β”€ Auth.jsx
β”‚   β”‚   β”œβ”€β”€ Profile.jsx
β”‚   β”‚   β”œβ”€β”€ Events.jsx
β”‚   β”‚   β”œβ”€β”€ AboutUs.jsx
β”‚   β”‚   └── admin/
β”‚   β”‚
β”‚   β”œβ”€β”€ App.jsx
β”‚   β”œβ”€β”€ main.jsx
β”‚   └── index.css
β”‚
β”œβ”€β”€ index.html
β”œβ”€β”€ package.json
β”œβ”€β”€ vite.config.js
└── README.md

πŸš€ Getting Started

1. Clone the repository

git clone YOUR_REPOSITORY_URL
cd Pizza-main

2. Install dependencies

npm install

3. Start development server

npm run dev

Open:

http://localhost:5173

πŸ“¦ Production Build

Create a production build:

npm run build

Preview the production build locally:

npm run preview

Lint the project:

npm run lint

πŸ”‘ Demo Admin

The current project contains a seeded local admin account.

Login:    admin
Password: admin123

Admin login:

/admin/login

⚠️ This account is intended for local/demo use. Change or replace it before deploying a real production application.


πŸ” Security Note

This version is not a production authentication system.

Because the project stores data in localStorage:

  • passwords are not suitable for real-world secure storage;
  • authentication can be manipulated from the browser;
  • users/orders/products are local to the current browser;
  • there is no real server-side authorization;
  • there is no real payment gateway;
  • there is no real SMS/Telegram OTP provider.

For production, the recommended architecture is:

React / Vite
      β”‚
      β–Ό
REST API / Backend
      β”‚
      β”œβ”€β”€ PostgreSQL / MySQL
      β”œβ”€β”€ Secure password hashing
      β”œβ”€β”€ JWT / Session auth
      β”œβ”€β”€ Role-based authorization
      β”œβ”€β”€ Real OTP provider
      └── Payment provider

πŸ—ΊοΈ Roadmap

Phase 1 β€” UI & Frontend

  • Landing page
  • Menu
  • Events
  • About
  • Authentication UI
  • Cart
  • Profile
  • Admin UI
  • Loading animation
  • Responsive design

Phase 2 β€” Backend

  • Node.js / Express API
  • PostgreSQL database
  • Secure authentication
  • Server-side authorization
  • Real order API
  • Product API
  • User API

Phase 3 β€” Restaurant Features

  • Delivery zones
  • Address selection
  • Delivery fee calculation
  • Promo codes
  • Favorites
  • Reviews
  • Restaurant table reservation
  • Kitchen order display
  • Real-time order status

Phase 4 β€” Payments

  • Online payment
  • Payment confirmation
  • Payment history
  • Refund flow

πŸ• Restaurant Order Flow

Customer
   β”‚
   β–Ό
Browse Menu
   β”‚
   β–Ό
Choose Pizza
   β”‚
   β”œβ”€β”€ Size
   β”œβ”€β”€ Quantity
   └── Ingredients
   β”‚
   β–Ό
Add to Cart
   β”‚
   β–Ό
Checkout
   β”‚
   β–Ό
Create Order
   β”‚
   β–Ό
Admin
   β”‚
   β”œβ”€β”€ Confirm
   β”œβ”€β”€ Prepare
   β”œβ”€β”€ Deliver
   └── Complete
   β”‚
   β–Ό
Customer receives order πŸ•

🧠 Architecture

The application is separated into reusable layers:

Pages
  ↓
Layouts
  ↓
Components
  ↓
Contexts
  ↓
Local Database
  ↓
localStorage

This makes it easier to replace the local storage layer with a real API later without rebuilding the entire UI from scratch.


⚑ Performance & UX

PizzaShop includes several small UX details:

  • ⏳ Branded loading screen
  • πŸͺ„ Hover animations
  • 🧭 Protected navigation
  • πŸ›’ Persistent cart state
  • πŸ“± Responsive breakpoints
  • β™Ώ prefers-reduced-motion
  • πŸ”„ Loading states for actions
  • ⚠️ Error/empty states
  • 🎯 Clear CTA hierarchy

🀝 Contributing

Contributions are welcome.

git checkout -b feature/my-feature
git add .
git commit -m "feat: add my feature"
git push origin feature/my-feature

Then open a Pull Request.


πŸ“œ License

This project is currently provided as a personal/demo project.

If you plan to use it commercially, review and define an appropriate license for your repository before publishing it.


πŸ‘¨β€πŸ’» Author

Azico / AzicoDev

Frontend developer focused on:

React β€’ JavaScript β€’ UI/UX β€’ Web Development β€’ Cybersecurity

πŸ• Built with React, caffeine & a dangerous amount of pizza. πŸ•

Made fresh. Served fast. Coded with love. ❀️‍πŸ”₯

About

PizzaShop is a modern pizza ordering platform built for a fast, smooth, and enjoyable food-ordering experience. It includes a stylish responsive interface, pizza menu, categories, product customization, cart, authentication, events, profile, order management, and admin features, all designed around a warm dark and orange visual identity online app.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages