PlanthorWebApi is a RESTful API project designed to support the Planthor application. This project is built using .NET 8 and utilizes a NoSQL database.
TODO: Add details feature to WebApi
- .NET 8 SDK or higher
- NoSQL database (MongoDB, etc.)
- Docker/Docker Desktop
- Clone the repository:
git clone https://github.com/Planthor/PlanthorWebApi.git
dotnet test --results-directory ./tests/CodeCoverageResults --collect:"XPlat Code Coverage;Format=lcov,opencover"
- Start the infrastructure
cd .\infrastructure\; docker compose up --build -d
- Start application with secret
$env:ConnectionStrings__PlanthorDbContext = "mongodb://admin:Planthor_123@localhost:27017/"; dotnet build; dotnet run
Please check WIKI or individual README(s) for more documentation.