The goal of this exercise is to create a backend using C# using the REST arquitecture.
In this task, we are building backend of an application that helps us managing our team.
We need to offer a REST CRUD with the following features:
- A member has:
-
- name
-
- salary_per_year
-
- type: it can be either an employee or a contractor.
-
-
- If it's a contractor, we want to store the duration of the contract as an integer.
-
-
-
- If it's an employee, we need to store their role, for instance: Software Engineer, Project Manager and so on.
-
- A member can be tagged, for instance: C#, Angular, General Frontend, Seasoned Leader and so on. (Tags will likely be used as filters later, so keep that in mind)
- A member lives in a Country. When we receive the request to create the member we should receive the "country" attribute, from it we should fetch the currency of the country that you should get from https://restcountries.com/, see the following example: https://restcountries.com/v3.1/name/brasil, where "brasil" is the name of the country. we need to store the currency together with the country information so our HR team knows which currency to pay the member.
- You need to use the .NET Core
- Make sure to provide a tutorial on how to run your application
- You need to use the SQL Server database
- Preferably use Dapper as the ORM framework
Functionality | Possible Points | |
---|---|---|
Matches the proposed requirements | 20 | |
Implements REST correctly | 15 | |
Separation of business logic and persistence layers | 15 | |
Uses dotnet core Minimal Apis | 5 | |
Uses dependency injection | 5 | |
Code Quality | ||
Code formatting, readability, maintainability, etc | 5 | |
Folders and packages structure | 5 | |
Follows SOLID | 10 | |
DevOps | ||
Docker image to build/run the project | 10 | |
DB migrations | 5 | |
Documentation | ||
Documentation about the work done, how to run the project, etc | 5 | |
Testing | ||
Has tests | 10 | |
Total | 100 |
- If you deploy the application in any server and share the link with us
- If provide thoughts on what you could improve on your code given more time and incentives
No, this is a simply backend exercise.
For every exercise we have two senior backend engineers from our team reviewing the code and the functionality and giving a score for each line item as shown in the previous table.
To deliver the exercise, you should clone this repository and work on a new branch. When you'll consider it completed, just push the branch and open a Merge Request and send us an email so we can start reviewing it.
By default we only send the result, however you can feel free to request the full evaluation and we will share it with you as well as the final score.