Planthor / PlanthorWebApi

A robust and scalable .NET Web API following Clean Architecture and Domain-Driven Design principles that plays as a main resource server for Planthor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PlanthorWebApi

Code Smells Security Rating Bugs Vulnerabilities Coverage Quality Gate Status

PlanthorWebApi is a RESTful API project designed to support the Planthor application. This project is built using .NET 8 and utilizes a NoSQL database.

Features

TODO: Add details feature to WebApi

Requirements

  • .NET 8 SDK or higher
  • NoSQL database (MongoDB, etc.)
  • Docker/Docker Desktop

Installation

  1. Clone the repository:
git clone https://github.com/Planthor/PlanthorWebApi.git

Run Unit + Integration Tests

dotnet test --results-directory ./tests/CodeCoverageResults --collect:"XPlat Code Coverage;Format=lcov,opencover"

Start the Planthor Web Api application in local development

For Windows

  1. Start the infrastructure
cd .\infrastructure\; docker compose up --build -d
  1. Start application with secret
$env:ConnectionStrings__PlanthorDbContext = "mongodb://admin:Planthor_123@localhost:27017/"; dotnet build; dotnet run

Documentation

Please check WIKI or individual README(s) for more documentation.

About

A robust and scalable .NET Web API following Clean Architecture and Domain-Driven Design principles that plays as a main resource server for Planthor.

License:MIT License


Languages

Language:C# 98.5%Language:Shell 0.9%Language:Dockerfile 0.6%