Skip to content

πŸ“š A repository to learn FastEndpoints with Dapper in C# dotNET

License

Notifications You must be signed in to change notification settings

GuilhermeStracini/hello-world-fastendpoints-dapper-dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Hello World FastEndpoints + Dapper - C# .NET

πŸ“š A repository to explore the power of FastEndpoints and Dapper in building lightweight, high-performance APIs with C# (.NET).

wakatime Maintainability Test Coverage CodeFactor Codacy Badge GitHub license GitHub last commit


About

This repository demonstrates the integration of:

  • FastEndpoints: A minimalist and performant web framework for .NET.
  • Dapper: A high-performance micro-ORM for efficient database operations.

The goal is to provide a foundational understanding of using these libraries together to create scalable, maintainable, and fast APIs in .NET.


Features

  • Implementation of FastEndpoints for clean and declarative API endpoint definitions.
  • Integration of Dapper for optimized database querying and mapping.
  • Sample project showcasing best practices for using these tools together.
  • Lightweight, high-performance design ideal for modern .NET applications.

Useful Links

FastEndpoints

Dapper

Combined Resources


Getting Started

Prerequisites

  • .NET SDK: Install the latest .NET SDK from Microsoft.
  • Database: Ensure you have an SQL-based database set up and accessible for Dapper to connect.

Setup

  1. Clone the repository:
    git clone https://github.com/GuilhermeStracini/hello-world-fastendpoints-dapper-dotnet.git
  2. Navigate to the project directory:
    cd hello-world-fastendpoints-dapper-dotnet
  3. Install dependencies:
    dotnet restore
  4. Run the application:
    dotnet run

Testing

To test the endpoints and database operations:

  1. Use tools like Postman or cURL to interact with the API.
  2. Run the provided test suite:
    dotnet test

Contribution

Contributions are welcome! If you'd like to enhance this repository, feel free to:

  • Fork the repository.
  • Create a new branch for your feature or bug fix.
  • Submit a pull request with a detailed description.

License

This project is licensed under the MIT License.

About

πŸ“š A repository to learn FastEndpoints with Dapper in C# dotNET

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •