Skip to content

Pettor/template-web-api-dotnet

Repository files navigation

Actions Main

Web API using .NET

Requirements

  • .NET 8.0
  • Install PostgreSQL 15.
  • Latest Docker

Configuration

Copy the template files for database.json and hangfire.json in Host.Configurations.Templates directory to the Host.Configurations directory.

Configure the ConnectionString in both files to make sure they match the credentials for the local PostgreSQL installation.

Run using Docker

To run the project using Docker run the following in the root dir:

docker compose up

Swagger

Running the backend from Solution will open up Swagger on:

http://localhost:5000/swagger

Running the backend from Docker will open up Swagger on:

https://localhost:5050/swagger

Authenticate using the following credentials:

{
    "email":"admin@root.com",
    "password":"123Pa$$word!"
}

License

This project is licensed with the MIT license.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages