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.
- Host: GitHub
- URL: https://github.com/mainageorge/companyemployeeapi
- Owner: MainaGeorge
- Created: 2021-06-13T10:53:42.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-20T08:36:27.000Z (almost 4 years ago)
- Last Synced: 2025-02-07T20:41:58.431Z (4 months ago)
- Topics: 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
- Language: C#
- Homepage:
- Size: 1.08 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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