Proper application running tested with the following development tools:
You can run app with Docker.
cd code/Avtokampidocker build -f AvtokampiWebAPI/Dockerfile -t camps:latest .docker run -it camps
When you have the development environment ready, run the following commands:
-
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
-
Set up a connection to the database in Visual Studio
Avtokampi -> appsettings.json -> "ConnectionStrings" -> "DefaultConnection"
-
You can then launch the app
- 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
You can try login with user:
- dabeu@cegu.com / string