Skip to content

siddhesh-crypto/Online-Food-Delivery-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Online Food Delivery Project

Technology (Springboot + react)

  • React
  • Springboot 3.0
  • role base access (ROLE_CUSTOMER, ROLE_RESTAURANT_OWNER)
  • Spring starter mai;
  • json web token
  • My SQL (Data base)
  • Tailwind css
  • Mui (css component library)
  • Redux (State managment library)
  • Axios
  • stripe payment gatway

Tools

  • vs code (react)

  • Model

    • User

      User Entity

      	Long id;
      	fullName;
      	email;
      	password;
      	role;
      	orders;
      	favorites
      	addresses 
      	status;
    • Restaurant

      public class Restaurant {
          id;
          owner;
          name;
          description;
          cuisineType;
          address;
          contactInformation;
          openingHours;
          reviews;
          orders;
          numRating;
          images;
          registrationDate;
          open;
          foods;
      }
    • Food

      public class Food {
          id;
          name;
          description;
          price;
          foodCategory;
          images;
          available;
          restaurant;
          isVegetarian;
          isSeasonal;
          ingredients;
          creationDate;
      }
    • Food Category

      public class Category {
          id;
          name;
          restaurant;
      }
    • Ingredients

      public class IngredientCategory {
          id;
          name;
          restaurant;
          ingredients;
      }
      public class IngredientsItem {
          id;
          name;
          category;
          restaurant;
          inStock;
      }
    • Event

      public class Events {
          id;
          image;
          startedAt;
          endsAt;
          name;
          restaurant;
          location;
      }
    • Order

      public class Order {
          id;
          customer;
          restaurant;
          totalAmount;
          orderStatus;
          createdAt;
          deliveryAddress;
          items;
          payment;
          totalItem;
          totalPrice;
      }
    • order item

      public class OrderItem {
          id;
          food;
          quantity;
          totalPrice;
          ingredients;
      }
    • Cart

      public class Cart {
          id;
          customer;
          items;
          total;
      }
    • Cart Item

      public class CartItem {
          id;
          cart;
          food;
          quantity;
          ingredients;
          totalPrice;
      }

Folder Stucture

project_root/ │ ├── src/ │ ├── controllers/ // Controllers handle request/response logic │ │ ├── itemController.js │ │ └── ... │ │ │ ├── models/ // Database models/schema │ │ ├── itemModel.js │ │ └── ... │ │ │ ├── routes/ // API routes │ │ ├── itemRoutes.js │ │ └── ... │ │ │ ├── services/ // Business logic and data processing │ │ ├── itemService.js │ │ └── ... │ │ │ └── app.js // Entry point of the application │ ├── .env // Environment variables ├── package.json // Project dependencies and metadata └── ...

  • spring boot

    Technology

    • React
    • Spring boot
    • spring security
    • role base access (ROLE_CUSTOMER, ROLE_RESTAURANT_OWNER)
    • spring start mail
    • jeson web token
    • Mysql(Data base)
    • Tailwind css
    • Mui (css component library)
    • Redux (State managment library)
    • Axios
    • strip payment gatway

    Tools

    • intellij idea (spring boot)
    • vs code (react)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages