- .NET 8 SDK (https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
- Node.js (https://nodejs.org/)
- Docker (to run MongoDB) (https://docs.docker.com/get-docker/)
- Optional: Rider or Visual Studio
- Clone this repository
- Open up a terminal
- Run npm install
cd frontend
npm install
- Build the solution
dotnet build
- (Optional) Start MongoDB using our development docker-compose file or if you already have a MongoDB instance running you can configure the connection strings in the following 2 files, one for the API and one for the Listener service.
docker-compose -f docker-compose.dev.yml up
backend/Navtrack.Api/appsettings.Development.json
backend/Navtrack.Listener/appsettings.Development.json
- Start the API
dotnet run --project backend/Navtrack.Api
- Start the Listener service
dotnet run --project backend/Navtrack.Listener
- Start the web interface with
cd frontend/web
npm start
curl https://raw.githubusercontent.com/navtrack/navtrack/main/docker-compose.yml -o docker-compose.yml
docker-compose up
or
docker compose up