This is a simple Todo List API built in .NET 7. This project is currently being used for .NET full-stack candidates.
To build the application:
dotnet build
Before running the API, you need to connect the project to your database and build its structure.
To do this:
- Navigate to TodoApi -> appsettings.json and find the ConnectionStrings -> TodoContext property. Set your connection string to your database there.
- Open the Package Manager Console and execute the following commands:
- Add-Migration [migration_name] (Replace [migration_name] with the desired name for your migration.)
- Update-Database
To run the TodoApi in your local environment:
dotnet run --project TodoApi
To run tests:
dotnet test
Check integration tests at: (https://github.com/crunchloop/interview-tests)
- Martín Fernández ([email protected])
We strongly believe in giving back 🚀. Let's work together Get in touch
.