No description
| docker | ||
| src/PortfolioBackend | ||
| tests/PortfolioBackend.Tests | ||
| .gitignore | ||
| README.md | ||
| version.txt | ||
Portfolio Backend
This is the backend for the portfolio project, built with .NET 8.0.
Project Structure
backend/
├── src/
│ └── PortfolioBackend/
│ ├── Controllers/
│ ├── Models/
│ ├── Repositories/
│ ├── Services/
│ ├── Migrations/
│ ├── Program.cs
│ ├── appsettings.json
│ ├── appsettings.Development.json
│ └── PortfolioBackend.csproj
├── tests/
│ └── PortfolioBackend.Tests/
│ ├── Controllers/
│ ├── Models/
│ ├── Repositories/
│ ├── Services/
│ └── PortfolioBackend.Tests.csproj
├── docker/
│ ├── Dockerfile
│ └── docker-compose.yml
├── .gitignore
└── README.md
Setup
- Ensure you have .NET 8.0 SDK installed.
- Clone this repository.
- Navigate to the
src/PortfolioBackenddirectory. - Run
dotnet restoreto restore the NuGet packages. - Run
dotnet runto start the application.
Running with Docker
- Ensure you have Docker and Docker Compose installed.
- Navigate to the
dockerdirectory. - Run
docker-compose up --buildto build and start the containers.
Running Tests
- Navigate to the
tests/PortfolioBackend.Testsdirectory. - Run
dotnet testto run the unit tests.