The Swiggy RESTful API is an API service that allows users to perform various operations related to food ordering and delivery. It provides endpoints for creating orders, managing restaurants and menus, and tracking delivery status.
- Create new orders with customer details and food items
- Manage restaurants, including adding, updating, and deleting restaurant information
- Add and update menus for each restaurant
- Track the status of food delivery for each order
- Handle user authentication and authorization
- Java
- Spring Boot
- Hibernate
- MySQL
- Java Development Kit (JDK) installed
- Maven (for dependency management)
- MySQL (or your preferred database) installed and running
-
Clone the repository:
-
Set up the database:
- Create a new database in MySQL.
- Configure the database connection properties in the
application.properties
file.
-
Build and run the application using Maven:
-
The API will be accessible at
http://localhost:8888
.
The API documentation is available at http://localhost:8888/swagger-ui.html
, which provides detailed information about all the endpoints, request/response models, and sample API requests.
Contributions are welcome! If you find any bugs or have suggestions for improvements, please submit an issue or a pull request.
For any questions or inquiries, please contact 45.mdzaid@gmail.com.