https://github.com/acao/commongoodsapi
https://github.com/acao/commongoodsapi
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/acao/commongoodsapi
- Owner: acao
- License: mit
- Created: 2016-03-28T22:02:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-28T22:04:06.000Z (about 9 years ago)
- Last Synced: 2025-01-16T21:37:06.409Z (4 months ago)
- Language: JavaScript
- Size: 986 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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',
};
```