Skip to content

xyzxyz442/koa2-rest-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

'use strict';

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

About

ES6 RESTFul Koa2 API with Mongoose and OAuth2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%