This backend supports server side Google and Facebook OAuth2.0
authentication and provides DB for users and events.
Also serves Linkedin login web service.
created through Go 4 Eat app.
- Make sure you have an instance of MongoDB working on your local machine or remote server.
Clone and install the dependencies for the repo:
git clone [email protected]:sergipt/go-for-eat-server.git
yarn install
Then you have to create in the main folder a .env
file with these keys:
MONGOLAB_URI=<mongodb host>
FACEBOOK_CLIENT=<Facebook client app code>
FACEBOOK_CLIENTSECRET=<Facebook client app secret>
GOOGLE_CONSUMERKEY=<Goggle app consumer key>
GOOGLE_CONSUMERSECRET=<Google app consumer secret>
RAVEN_URI=<Raven logger dedicate Uri>
You''ll find an example .env file in root folder.
Change the values accordingly to yours.
- Postman collection
- Url pointing to Apiary - change accordingly
- Apiary mock server APIs
- Monk - The wise MongoDb API
- dotenv - Loads enviromnet variables from .env for nodejs projects
- Axios - Promise client for node.js
- Koa - Web framework for node.js
Mlab | Travis-CI | Sentry |
---|---|---|
Remote MongoDb instance | Continous Deployment Tool | Exceptions Logger |
mlab.com | travis-ci.org | sentry.io |