No description
Find a file
2024-08-22 19:52:43 -04:00
src v0.0.0 Replace NodeJS with .NET 2024-08-22 19:52:43 -04:00
.gitignore v0.0.0 backend initial commit 2024-07-20 15:36:00 -04:00
README.md v0.0.0 Refactor backend code base structure 2024-07-20 16:05:49 -04:00
version.txt v0.0.0 backend initial commit 2024-07-20 15:36:00 -04:00

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

  1. Ensure you have .NET 8.0 SDK installed.
  2. Clone this repository.
  3. Navigate to the src/PortfolioBackend directory.
  4. Run dotnet restore to restore the NuGet packages.
  5. Run dotnet run to start the application.

Running with Docker

  1. Ensure you have Docker and Docker Compose installed.
  2. Navigate to the docker directory.
  3. Run docker-compose up --build to build and start the containers.

Running Tests

  1. Navigate to the tests/PortfolioBackend.Tests directory.
  2. Run dotnet test to run the unit tests.