Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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]