- City to City Through Types - Launchpad
- Union Types - Launchpad
- Interfaces - Launchpad
- SWAPI - Launchpad
- Mongo Installation for Mac
- Mongo Installation for PC
- mLab
- Local Instructions for Mongo & mLab
- Typical Mongo Service Route:
mongodb://localhost:27017/photo-share - Typical mLab Service Route:
mongodb://test:password@ds215089.mlab.com:15089/photo-share(yours will differ slightly, find on mLab)
DB_HOST=mongodb://*** or `mongodb://******
CLIENT_ID=<GITHUB_CLIENT_ID>
CLIENT_SECRET=<GITHUB_CLIENT_SECRET>
- curl Request
curl -X POST \
-H "Content-Type: application/json" \
--data '{ "query": "{allPhotos{name}}" }' \
http://localhost:4000/graphql
window.location = https://github.com/login/oauth/authorize?client_id=${clientID}&scope=user