Skip to content

sgaulding/DotNet6-API-Sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DotNet6-API-Sample

An .NET 6 API sample implemenation of a user service.

Deployment

This application follows a continuous integration approach whereby any changes to the default branch main will result in a new build to the target platform. This application uses GitHub Actions to build and unit test the configured target platform.

Local Devleopment

Either use a SQL Server instance or a Docker container to set up the back-end data store. See Database Readme for more information.

DotNet Steps

  • Install the .NET 6 SDK from the official Microsoft website.
  • Clone the repository to your local machine.
  • Open the solution file in Visual Studio Code or your preferred IDE.
  • Restore the NuGet packages by running the following command in the terminal:
    • > dotnet restore
  • Set up the database by following the instructions in the Database Readme.
  • Install self signed certs
    • > dotnet dev-certs https
  • Build the solution by running the following command in the terminal:
    • > dotnet build
  • Run the API by running the following command in the terminal:
    • > dotnet run
  • The API should now be running on

Testing

About

API sample created with .NET 6

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published