Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.58 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.58 KB

Camping reservations ms

A microservice for camping reservations.

Table of Contents

Precondition

Proper application running tested with the following development tools:

Installation and operation

When you have the development environment ready, run the following commands:

  1. Open a project in Visual Studio

    • Open project or solution -> find the downloaded folder and in the subfolder WebApp/ open .sln datoteko
    • Perform as needed Restore NuGet Packages
  2. Set up a connection to the database in Visual Studio

    • WebApp -> appsettings.json -> "ConnectionStrings" -> "DefaultConnection"
  3. Start database migration

    • dotnet ef database update -> if you use .NET Core CLI
    • Update-Database -Project WebApp.Infrastructure -> if you are using the Packege Manager Console
  4. You can then launch the app

Environment variables

This microservice camping API requires microservices endpoint. For that you can set DB_CONNECTION_STRING environment variable when running with Docker.

Database

Database image of camping reservations ms.