π A repository to explore the power of FastEndpoints and Dapper in building lightweight, high-performance APIs with C# (.NET).
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.
- 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.
- .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.
- Clone the repository:
git clone https://github.com/GuilhermeStracini/hello-world-fastendpoints-dapper-dotnet.git
- Navigate to the project directory:
cd hello-world-fastendpoints-dapper-dotnet
- Install dependencies:
dotnet restore
- Run the application:
dotnet run
To test the endpoints and database operations:
- Use tools like Postman or cURL to interact with the API.
- Run the provided test suite:
dotnet test
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.
This project is licensed under the MIT License.