Skip to content

Latest commit

 

History

History
66 lines (42 loc) · 2.04 KB

README.md

File metadata and controls

66 lines (42 loc) · 2.04 KB

Food ordering project

About

This project is a full stack Next.js application designed to facilitate the ordering of food and drinks.
It integrates both frontend and backend functionalities.

The application allows users to:

  • Login via Google or Facebook provider
  • Browse Menu
  • List featured products
  • Use cart and order products

Administrators can:

Same as users +

  • Delete or add products
  • See orders and change their status

Features

  • User Authentication: Implemented using NextAuth
  • Database: PostgreSQL, prisma
  • Responsive Design

Technical Details

  • Technologies Used: React hooks(use State, useRef, useEffect), custom hooks(AuthProvider, QueryProvider, useAddProduct)
  • Database: PostgreSQL
  • Authenticaton: Nextauth.js (Google and Facebook Provider)
  • Data Fetching: ReactQuery
  • Global State Managment: Zustang
  • ORM (Object-Relational Mapping): Prisma

Pages

Login Page

food-ordering-login

Home Page

food-ordering-homepage1 food-ordering-homepage2

Menu Page

food-ordering-categories

Category Page

food-ordering-category

Orders Page

food-ordering-orders

Single Product Page

food-ordering-product

Cart Page

food-ordering-cart

Add Product Page

food-ordering-add-product