A bug tracking system is an application that lets you keep track of bugs for projects in a database.
This project is a .NET Core implemented Web API for listing Bugs and assigning users to them. It uses Entity Framework Core to communicate with a SQL Server database.
- C#
- .NET
- ASP.NET Core
- Entity Framework Core
- xUnit.net
- FluentAssertions
-
Change to the api directory (i.e.
bugTracker.Core/bugTracker.WebApi
)cd bugTracker.WebApi
-
Issue the
dotnet
restore command (this resolves all NuGet packages)dotnet restore
-
Issue the
dotnet
build commanddotnet build
-
Issue the
dotnet
run commanddotnet run
This will start the Kestrel webserver, load the
bugTracker.WebApi
application and tell you, via the terminal, what the url to accessbugTracker.WebApi
will be. Usually this will behttp://localhost:5000
, but it may be different based on your system configuration. Heading tolocalhost:5000/swagger
should load the swagger API documentation
-
Ensure that you are in the root directory of the project
-
Run the following command
docker-compose up --build
The project should be running on port 8000 of yourt local machine. Heading to localhost:8090/swagger
should load the swagger API documentation
Copyright (c) 2022 Anastasiya Trembach. MIT License