Skip to content

navmeetsekhon/pizza-shop-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pizza Shop Digital Ordering System (Backend)

Build Status License

Table of Contents

Introduction

Welcome to the backend of the Pizza Shop Digital Ordering System! This project is a digital ordering system for a pizza shop, built using Spring Boot, Maven, and MySQL. The backend handles the business logic, database interactions, and provides a RESTful API for the frontend.

Features

  • User authentication and authorization
  • Menu management (CRUD operations)
  • Order processing and management
  • Integration with a MySQL database
  • RESTful API for communication with the frontend

Prerequisites

Before you begin, ensure you have the following installed:

  • Java Development Kit (JDK) 17 or later
  • Apache Maven
  • MySQL Database

Getting Started

Follow the steps below to set up and run the Pizza Shop backend on your local machine.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/pizza-shop-backend.git
    
  2. Navigate to the project directory:

    cd pizza-shop-backend
    
  3. Build the application:

    mvn clean install
    

Database Configuration

  1. Create a MySQL database for the project.

    CREATE DATABASE pizzaShop;
    
  2. Update the application.properties file with your database connection details:

    spring.datasource.url=jdbc:mysql://localhost:3306/pizzaShop
    spring.datasource.username=your_username
    spring.datasource.password=your_password
    spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
    
  3. Run the SQL script to create the database schema:

    mysql -u root -p pizzaShop < config/sql/createsql.sql
    
  4. Run the application:

    mvn spring-boot:run
    or 
    mvn clean install
    cd target
    java -jar orderManagementApp-0.0.1-SNAPSHOT.jar
    

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •