This project provides a RESTful API for managing a pizza store, including toppings management, order handling, and payment processing via credit card and cash. It features a user authentication system.
- ASP.NET Core: Primary framework for building the API
- Entity Framework Core: Database management
- C#: Main programming language
- Swagger/OpenAPI: API documentation and testing
Provides a RESTful API for pizza management, including:
- GET /api/pizza: Retrieve a list of all pizzas.
- POST /api/pizza: Create a new pizza.
- PUT /api/pizza/{id}: Update an existing pizza by ID.
- DELETE /api/pizza/{id}: Delete an existing pizza by ID.
The system includes authentication and authorization for users with different permissions:
- POST /api/login: Authenticate a user and generate an authentication token.
- .NET Core SDK 3.1 or above
- Visual Studio 2019 or Visual Studio Code
- Clone the repository and open the project in your development environment.
- Edit appsettings.json with appropriate settings (e.g., database connection string).
- Export and run the API using dotnet CLI or Visual Studio.
Describe additional functionality such as alert events or common troubleshooting file.
Describe the project's achievements, original source or contributors, and fixes and enhancements to improve the user experience.