An open API service indexing awesome lists of open source software.

https://github.com/mainageorge/companyemployeeapi

This is an api project for managing employees and their companies done with aspnet core 5.
https://github.com/mainageorge/companyemployeeapi

actionfilters automapper datashaping entityframeworkcore entityframeworkcore-codefirst extension-methods jwt jwttoken linq linq-to-sql migrations modelbinding nlog pagination repository-pattern sorting sqlserver unit-of-work

Last synced: about 2 months ago
JSON representation

This is an api project for managing employees and their companies done with aspnet core 5.

Awesome Lists containing this project

README

        

# CompanyEmployeeAPI
This is an api project for managing employees and their companies done with aspnet core 5. The focus is on creating restful api and following the rules for creating parent and child
resources. The app is an imaginary collection of companies that have employees. An employee can only exist in a company, and a company can have more than one employees but
an employee belongs to only one company.

the api exposes endpoints to create both the parent(company) and child(employee) resources using the post method, updating them using the put and patch http methods
and deleting the resources using the delete method.

the api also allows specification of the particular properties of the resource that the client requires thanks to data shaping.

the api also allows creation of a collection of resources

the api comes with data validation already