This repository contains a RESTful API for the GameStore application, built with ASP.NET Core. It uses Entity Framework Core for data access and SQLite as the database.
- RESTful API for managing games and genres
- CRUD operations for games and genres
- Entity Framework Core integration
- SQLite as the database provider
- .NET 8.0.2 SDK
- SQLite
Clone the repository:
gh repo clone Milansaji/GameStore-API
Install the required dependencies:
dotnet restore
Update the database:
dotnet ef database update
dotnet run
Games
- GET /games: Get all games
- POST /games: Create a new game
- GET /games/{id}: Get a game by ID
- PUT /games/{id}: Update a game by ID
- DELETE /games/{id}: Delete a game by ID
Genres
- GET /genres: Get all genres
- ASP.NET Core: Web framework for building modern, cloud-based, internet-connected applications.
- Entity Framework Core: Object-database mapper for .NET.
- SQLite: Self-contained, high-reliability, embedded, full-featured, public-domain, SQL database engine.