Skip to content

kokomo-dragonhack/Camping-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Camps API

Table of Contents

Presentation video

Precondition

Proper application running tested with the following development tools:

Installation and operation

You can run app with Docker.

  • cd code/Avtokampi
  • docker build -f AvtokampiWebAPI/Dockerfile -t camps:latest .
  • docker run -it camps

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

    • Avtokampi -> appsettings.json -> "ConnectionStrings" -> "DefaultConnection"
  3. You can then launch the app

Project structure

  • Models -> Domain models and Data transfer models
  • Services -> Service layer for business logic
  • Repositories -> Repository layer for communication with database
  • Controllers -> REST endpoints communication layer

Link to Swagger docs

You can try login with user:

About

REST API for camping

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published