- PokedexApi.Core - Entities, Exceptions, etc.
- PokedexApi.Domain - Business Rules, General Helper classes, CQRS pattern classes.
- PokedexApi.Infra- Data access implementations (DbContext, Repositories), Seeds.
- PokedexApi.Web - ASP.NET MVC application for public website.
- Run Site API
dotnet run --project PokedexApi.Web
- Run Site API watching changes
dotnet watch --project PokedexApi.Web run
dotnet add PokedexApi.Web package Npgsql
If having an error message like 'System.IO.IOException : The configured user limit (128) on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached', runs the following command, and run the test command again:
echo fs.inotify.max_user_instances=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p