To clone and run this application, you'll need Git and .NET installed on your computer. From your command line:
# Clone this repository
$ git clone https://github.com/thalissoncastrog/dotnet-api.git
# Go into the repository
$ cd dotnet-api
# Install dependencies
$ dotnet restore
# Run the app
$ dotnet run
Note After run each command above, go to a web browser and access this url: http://localhost:[port]/swagger.
Note: Install docker according your operating system Docker Instalation.
# Clone this repository
$ git clone https://github.com/thalissoncastrog/dotnet-api.git
# Go into the repository
$ cd dotnet-api
# Do the next commands as root user
$ sudo su
# Create a docker image from Dockerfile
$ docker build -t api-minimal-dotnet:1.0.0 .
# Create a container from the image created before
$ docker run -d -p 8080:8080 api-minimal-dotnet:1.0.0
Note After run each command above, go to a web browser and access this url: http://localhost:8080/swagger.
MIT
Instagram @thalissoncastrog · GitHub @thalissoncastrog · Email [email protected]