Permissions are setup so that you can not access the api without a valid JWT, but i only put this on one call atm and that is the me resolvers. The rest do not require you to be logged in.
Once the server is running you can navigate to localhost:3000/graphiql.
yarn install
- Create a
.env
file. - Template for
.env
SECRET=
DB_HOST=
DB_NAME=
DB_USER=
DB_PASS=
FACEBOOK_APP_ID=
FACEBOOK_APP_SECRET=
FACEBOOK_CALLBACK_URL=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_CALLBACK_URL=
- SECRET is for crypting your JWTs, the rest should explain themselves.
npm start