Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mersocarlin/school-web-api
Sample backend RESTful Web API to manage students, teachers and courses.
https://github.com/mersocarlin/school-web-api
Last synced: 1 day ago
JSON representation
Sample backend RESTful Web API to manage students, teachers and courses.
- Host: GitHub
- URL: https://github.com/mersocarlin/school-web-api
- Owner: mersocarlin
- License: mit
- Created: 2015-03-02T23:34:15.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-13T19:39:57.000Z (almost 9 years ago)
- Last Synced: 2024-04-24T10:07:09.986Z (8 months ago)
- Language: C#
- Homepage:
- Size: 194 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/mersocarlin/school-web-api.svg?branch=master)](https://travis-ci.org/mersocarlin/school-web-api)
# school-web-api
This is a sample for RESTful Web API where I build a simple back-end to manage students, teachers and courses.## Also used in this project
* [x] Entity Framework (Code First)
* [x] Repository Pattern
* [x] Service Pattern
* [x] DDD
* [x] Dependency Injection
* [x] Unit Testing
* [x] Mock (Moq)
* [x] SQL Server
* [x] oAuth Authentication
* [ ] Cache for requests## oAuth Token Generation
![oAuth Token Generation](https://github.com/mersocarlin/school-web-api/blob/master/images/token_request.PNG)
**grant_type**: *password*
**username**: *mersocarlin*
**password**: *BolshoiBooze*
## Sending requests
![Request with Token](https://github.com/mersocarlin/school-web-api/blob/master/images/request_with_token.PNG)
**Authorization**: Bearer [generated token]