Skip to content

Restaurant mangement system provides a powerful foundation for managing the various aspects of restaurant operations

License

Notifications You must be signed in to change notification settings

Mohamedmagdy1790/Javeats-Lites

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javeats-Lites Backend

Restaurant Management System is a Web-Based Project built with Java 11, Spring Boot 2.7, PostgresSQL. Javeats provides a powerful foundation for managing the various aspects of restaurant operations. It includes functionalities such as inventory management, menu creation and modification, order processing, table reservations, customer management, staff scheduling, and financial transactions. Leveraging the robustness and scalability of Java Spring Boot, the backend ensures efficient performance and seamless integration with other systems. With its modular architecture, the backend can be easily extended and customized to suit the specific needs of different types and sizes of restaurants. Overall, the backend system aims to optimize operational efficiency, enhance customer service, and streamline business processes for restaurant owners and staff.

Index

Getting started

  1. Built with
    • Spring Boot 2.7
    • PostgresSQL
  2. Prerequisites
  3. Dev run
    • mvn clean package -DskipTests=True
  4. Start local Database, create local postgres container
    docker compose up -d db
  5. SWAGGER USAGE
    • Hit swagger URL in browser. Swagger

System Features and Use-Cases

Mind Map fo the features, use-cases, Api Endpoints, and Database Tables.

  1. Cart Management
    • add, modify, and view Cart
    • remove item or clear cart
  2. User Registration and Authentication
    • Sign up, login, logout, and roles
    • Jwt Authentication
  3. Restaurant Management
    • register, update, enable/disable restaurant
    • add, update, delete, enable/disable menu
    • search restaurant, menu-Items, and rating
  4. Order Management
    • place and cancel order by customer or restaurant
    • order details, and restaurant orders summary
  5. Payment Management
    • create, view payment and integration With 3rd Party
    • view Payment Transactions
    • generate Transaction Receipt

Diagrams

System Architecture

System Architecture

Order Sequence Diagram

Order Sequence Diagram

Entity Relationship Diagram

Entity Relationship Diagram

Query Optimization

I performed the query optimization on Hibernate queries using show-sql=true property. You can mock the tests by add 10 million records in database using this file.

Query Optimization

Query Optimization Examples

Tasks Estimation

we mocked the Task Estimation to make it better for each developer working on the system. Here is examples of it:

estimation 01

Estimation Examples

About

Restaurant mangement system provides a powerful foundation for managing the various aspects of restaurant operations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.9%
  • Dockerfile 0.1%