Pizza Creed is a pizza bakery in Galle Fort. They don't run a pizza restaurant as usual pizza makers. Pizza Creed prepares pizza for orders only.
Pizza Creed is a Spring Boot application providing RESTful APIs for managing pizza orders. It includes functionalities such as listing available pizzas, creating shopping baskets, managing basket items, and checking out orders.
Ensure you have the following installed on your system:
- Java Development Kit (JDK) - Download and Install JDK
- Maven Wrapper - Included in the project
- MySQL Database - Download and Install MySQL
- Create a MySQL database for the application with the name
pizzacreed
. - Navigate to
src/main/resources
and locate theapplication.properties.template
file. - Duplicate the
application.properties.template
file and remove the.template
extension, creating a new file namedapplication.properties
. - Open the
application.properties
file in a text editor. - Update the file with your database details, including the username and password.
Open a terminal and navigate to the project directory.
Run the following commands:
./mvnw clean install
./mvnw spring-boot:run
(On Windows, use mvnw instead of ./mvnw)
The application should now be running at http://localhost:8080
.
Refer to the Postman Collection for detailed API endpoints and sample requests.
Explore and test the API using the Postman Collection.
Check out the detailed API documentation on Postman Documentation.
The admin panel can be accessed at http://localhost:8080/adminlogin with the following credentials:
-Username: pizza-gallefort-9911. -Password: 1919gallepizzafort