Instructions to run the api
These are the necessary software to run the application, you can install them directly on your machine or you can use a container.
RabbitMQ
PostgreSQL
.NET 6 SDK
First, setup the credentials for Postgres and RabbitMQ and also the token parameters on ChatApp.Api/appSettings.json and appsettings.Development.json
Restore the nuget packages and build the solution by opening it through an IDE or using CLI. The startup project is ChatApp.Api.
You have to run the migrations before starting the project for the first time. Go to the root directory of the project and run the command.
dotnet ef --startup-project ChatApp.Api/ChatApp.Api.csproj --project ./ChatApp.Infrastructure/ChatApp.Infrastructure.csproj database update
You can now run the application. Use a CLI or an IDE.