Skip to content

Rolandogarciam/mutations-app

Repository files navigation

codecov

Requirements

  • Dotnet SDK 6
  • Azure Cosmos DB (Table API)
  • Docker

Setup .NET

Restore Dependencies

dotnet restore

Build Solution

dotnet build --no-restore

Run Project

dotnet run --project api/meli-mutations/meli-mutations.csproj --no-launch-profile

Linux

export COSMOS_CONNECTION_STRING = "<connection-string>"
export ASPNETCORE_URLS="http://localhost:8080;https://localhost:8443"

Windows

set COSMOS_CONNECTION_STRING = "<connection-string>"
set ASPNETCORE_URLS="http://localhost:8080;https://localhost:8443"

lauchProfile.json

dotnet run --project api/meli-mutations/meli-mutations.csproj --launch-profile meli_mutations

Run Test

dotnet test

Docker

docker build . -f docker/Dockerfile
docker run --publish 80:80 <image>

Endpoints

Healtcheck (GET): https://meli.code2.me/dna/healthcheck

Mutant (POST): https://meli.code2.me/dna/mutant

Stats (GET): https://meli.code2.me/dna/stats

Architecture

image

Releases

No releases published

Packages

No packages published