Skip to content

TOTEM-ABU/Gastranomics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

24 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Restaurant Management System

This is a complete fullstack application for managing restaurants.

Technologies

Backend

  • NestJS - Backend framework
  • PostgreSQL - Database
  • Prisma - ORM
  • JWT - Authentication
  • bcrypt - Password hashing

Frontend

  • React - Frontend framework
  • TypeScript - Type safety
  • Tailwind CSS - Styling
  • React Router - Routing
  • React Hook Form - Form handling
  • Axios - HTTP client
  • Lucide React - Icons

Core Features

Users

  • βœ… User registration
  • βœ… User login
  • βœ… User management
  • βœ… Roles (ADMIN, SUPER_ADMIN, CASHER, WAITER)

Restaurants

  • βœ… Add restaurant
  • βœ… Edit restaurant
  • βœ… Delete restaurant
  • βœ… View restaurant details

Products

  • βœ… Add product
  • βœ… Edit product
  • βœ… Delete product
  • βœ… Filter by categories

Orders

  • βœ… View orders
  • βœ… Manage order status
  • βœ… Filter by restaurant

Regions

  • βœ… Add region
  • βœ… Edit region
  • βœ… Delete region

Categories

  • βœ… Add category
  • βœ… Edit category
  • βœ… Delete category

Debts

  • βœ… Add debt
  • βœ… Edit debt
  • βœ… Delete debt

System Features

  • πŸ” JWT authentication
  • πŸ‘₯ Role-based access control
  • πŸ“± Responsive design
  • πŸ” Real-time search
  • πŸ“Š Dashboard with statistics
  • 🎨 Modern UI/UX
  • ⚑ Fast performance
  • πŸ”„ Auto refresh tokens

Structure

FullStackRestarauntSystem/
β”œβ”€β”€ restaraunt-backend/          # Backend (NestJS)
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ auth/               # Authentication
β”‚   β”‚   β”œβ”€β”€ user/               # User management
β”‚   β”‚   β”œβ”€β”€ restaurant/         # Restaurant management
β”‚   β”‚   β”œβ”€β”€ product/            # Product management
β”‚   β”‚   β”œβ”€β”€ order/              # Order management
β”‚   β”‚   β”œβ”€β”€ region/             # Region management
β”‚   β”‚   β”œβ”€β”€ category/           # Category management
β”‚   β”‚   β”œβ”€β”€ debt/               # Debt management
β”‚   β”‚   └── withdraw/           # Withdraw management
β”‚   └── prisma/                 # Database schema
└── restaraunt-frontend/        # Frontend (React)
    β”œβ”€β”€ src/
    β”‚   β”œβ”€β”€ components/         # Reusable components
    β”‚   β”œβ”€β”€ pages/              # Page components
    β”‚   β”œβ”€β”€ contexts/           # React contexts
    β”‚   β”œβ”€β”€ services/           # API services
    β”‚   └── types/              # TypeScript types
    └── public/                 # Static assets

Important Notes

  1. Database: PostgreSQL must be installed
  2. Node.js: Version 18+ required
  3. Ports: Ports 3000 (backend) and 5173 (frontend) must be available
  4. Environment: Configure the .env file correctly

Help

If you encounter issues:

  1. Check database connection
  2. Verify ports are available
  3. Ensure node modules are installed
  4. Verify environment variables are configured correctly

About

🍽 Restaurant Management System – FullStack Web App Full-featured system built with NestJS & React. Supports user roles, order & product management, debt tracking, and a responsive dashboard. Secured with JWT.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages