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

https://github.com/acao/commongoodsapi


https://github.com/acao/commongoodsapi

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Starter project for an ES6 RESTFul Koa2 API with Mongoose and OAuth2

currently in development...

## OAuth2 Provider

You need to create a `provider.js` file in `server/auth` and add your oAuth2 provider credentials, like:

```js
'use strict';

export const facebook = {
clientId: YOUR_CLIENT_ID,
clientSecret: YOUR_CLIENT_SECRET,
route: '/auth/facebook',
callbackRoute: '/auth/facebook/callback',
};
```