https://github.com/rahul8320/formulaoneapi
Dotnet Web Api using MediatR pattern
https://github.com/rahul8320/formulaoneapi
dotnet dotnet-api dotnet-core dotnet-entity-framework dotnet-webapi ef-core mediatr sqlite-database sqlite3
Last synced: 11 months ago
JSON representation
Dotnet Web Api using MediatR pattern
- Host: GitHub
- URL: https://github.com/rahul8320/formulaoneapi
- Owner: Rahul8320
- Created: 2024-05-10T17:52:34.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-20T12:47:21.000Z (over 1 year ago)
- Last Synced: 2025-01-29T22:02:23.776Z (about 1 year ago)
- Topics: dotnet, dotnet-api, dotnet-core, dotnet-entity-framework, dotnet-webapi, ef-core, mediatr, sqlite-database, sqlite3
- Language: C#
- Homepage:
- Size: 109 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project Title
FormulaOne API
## Table of Contents
- [About](#about)
- [Getting Started](#getting-started)
- [Usage](#usage)
FormulaOne API is implemented using the MediatR pattern. It provides functionalities for managing Formula One drivers and achievements.

These instructions will help you set up the project on your local machine for development and testing purposes.
### Prerequisites
Ensure you have the following installed:
- .NET 6 or higher (preferably .NET 8)
- .NET EF tools for migrations and database updates
- Your preferred code editor (VSCode is recommended)
### Installation
Follow these steps to get the development environment running:
1. Clone the Git repository:
```
git clone https://github.com/Rahul8320/FormulaOneApi
```
2. Restore packages:
```
dotnet restore
```
3. Build the project:
```
dotnet build
```
4. Run the project:
```
dotnet watch run
```
or
```
dotnet run
```
After running the project, access the Swagger page for an intuitive interface to interact with the application. Through Swagger, you can:
- Create a new driver or achievement.
- View a list of drivers or their achievements.
- Update driver or achievement details.
- Add logs for error or update events.
The Swagger page streamlines the process of managing drivers and achievements, making it easy and efficient to perform these tasks.