Landis Gyr´s Home Work
This project is a Home Work for Landis Gyr´s.
There was a concern for the project to follow good object oriented programming practices and clean code.
-
Architectural
- Division into layers
- Principles of SOLID and Clean Code
-
Database InMemory
- Repository Pattern (EF 3.0.1)
-
Tests
- Unitary Tests (MS Test)
-
Documentation
- Swagger
To access the documentation navigate to the endpoint /swagger
To run this project in the development mode, you'll need to have a basic environment to run a .NET Core Application. You can get it here.
Cloning the Repository
$ git clone https://github.com/brunoalves9698/publicutility.git
$ cd publicutility
Go to the /src/PublicUtility.Api/appsettings.json file and edit the 'Server' value into 'connectionString' key for the SqlServer of your machine.
It should looks like this:
"connectionString": "Server=YOUR_SQL_SERVER_PROVIDER\SQLEXPRESS;DataBase=MovieCine;Trusted_Connection=true;"
With all dependencies installed and the environment properly configured, you can now run the app:
$ dotnet run