Summary
- New ASP.NET Core Web API project named
RestaurantReservation.API
. - API controllers for each entity and CRUD operations.
Full Changelog: v1.0.0...v2.0.0
Endpoints
- Includes CRUD and other specific endpoints for reservations.
- Endpoints for additional methods, including those related to reservations.
- GET
/api/employees/managers
- List all managers. - GET
/api/reservations/customer/{customerId}
- Retrieve reservations by customer ID. - GET
/api/reservations/{reservationId}/orders
- List orders and menu items for a reservation. - GET
/api/reservations/{reservationId}/menu-items
- List ordered menu items for a reservation. - GET
/api/employees/{employeeId}/average-order-amount
- Calculate average order amount for an employee.
- GET
Authorization
- Secure the APIs using JWT authorization mechanism.
- Implement input validation and user-friendly error messages using Fluent Validations.
API Documentation with Swagger
- Integrate Swagger to auto-generate API documentation.
Testing
- Comprehensive Postman test suite to automatically test all the API endpoints.
- Include tests for successful operations and error handling.
- Share the Postman collection file.