Pizza Shop is an application for ordering food online.
Click on this link or get URL below to download the project.
https://github.com/SadCryFamily/pizza-shop.gitTo launch, you need any IDEA supporting Java projects: Eclipse, NetBeans, VScode, etc.
If such an IDE was not found, you can download IntelliJ IDEA for
Windows by clicking on this link.
To start the project, you need to follow the path: src/main/java/com/app/pizzashop/PizzaShopApplication.java, like in example below:
@SpringBootApplication
public class PizzaShopApplication {
public static void main(String[] args) {
SpringApplication.run(PizzaShopApplication.class, args);
}
}Then clink on green button on left-side bar of PizzaShopApplication.java, аfter that, the application will be launched
and you can enjoy ordering food online!
This project uses the Spring Boot as well as Spring Data and Liquibase, which allows to create ER diagram below.
-
customercontains data about all users who have registered in the application. -
productcontains information about the current products that can be ordered. -
ordersis needed to link data from the customer and product tables. -
cartprocesses data from the orders entity, displaying customer order amounts individually or by category.
You need to run the project in the IDE, go to the browser and follow the path localhost:8080/swagger-ui/, to learn more about the entities and endpoints of the project, as well as make several test requests to the server, thanks to the support of Swagger 2.0.
