- Java
- Hibernate
- Spring Framework
- Spring Boot
- Spring Data JPA
- MySQL
- Swagger UI
- Maven
- Login Module
- Restaurant owner Module
- Customer Module
- Category Module
- Order and Bill Module
- Data Authentication and Validation for all the users (Restaurnat owner, Customer)
- Owner can login by giving valid credentials.
- Owner can add category and provide the item to the respective category.
- Owner can add the status and set the price.
- Customer can login in the application and update their information using their username and password.
- Customer can book food item using by adding into cart and destination.
- Customer can access the bill after the purchase & can have the history is completed.
- Before running the API server, you should update the database config inside the application.properties file.
- Update the port number, username and password as per your local database configuration.
server.port=8081
spring.datasource.url=jdbc:mysql://localhost:3306/cabdb;
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.username=root
spring.datasource.password=root
https://localhost:8081/
http://localhost:8081/swagger-ui/
POST
http://localhost:8081/customer/create
{
"username":"pablo",
"password":"escobar",
"mobile":"9874568721"
}
{
"userName": "roshan",
"username": "pablo",
"password": "escobar",
"address": null,
"mobile": "9874568721",
"email": null,
"age" : 25,
"gender" : "male"
}
- PPT for more details Food app api Project.pdf