Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 2.14 KB

README.md

File metadata and controls

66 lines (44 loc) · 2.14 KB

Pizza Creed 🍕

Pizza Creed is a pizza bakery in Galle Fort that prepares pizza only for orders.

Table of Contents

Introduction

Pizza Creed is a Spring Boot application providing RESTful APIs for managing pizza orders, including listing available pizzas, creating shopping baskets, managing basket items, and checking out orders.

Setup

Prerequisites

Ensure you have the following installed on your system:

Database Configuration

  1. Create a MySQL database named pizzacreed.
  2. Duplicate application.properties.template in src/main/resources and rename it to application.properties.
  3. Update application.properties with your database details.

Running the Application

  1. Open a terminal and navigate to the project directory.
  2. Run:
    ./mvnw clean install
    ./mvnw spring-boot:run
    (On Windows, use mvnw instead of ./mvnw)
  3. The application should now be running at http://localhost:8181.

Endpoints

Refer to the Postman Collection for detailed API endpoints and sample requests.

Postman Collection

Explore and test the API using the Postman Collection.

Documentation

Check out the detailed API documentation on Postman Documentation.

Admin Panel

Access the admin panel at http://localhost:8181/login with:

  • Username: admin
  • Password: admin

Create this project for EAD2