npm start
# graphiql interface located at http://localhost:3000
# application interface located at http://localhost:4000
npm run db:migrate --loglevel=silent
npm run db:test --loglevel=silent
API_URL=http://localhost:3000 PGADMINPASSWORD=postgres PGPASSWORD=give_me_time GOOGLE_CLIENT_ID=xxxxxx-xxxxx.apps.googleusercontent.com GOOGLE_CLIENT_SECRET=xxxxxxx GOOGLE_REDIRECT_URL=http://localhost:3000 docker-compose -f docker-compose.yml up
You can find the client ID and secret here : https://console.developers.google.com/apis/credentials?project=inovia-givemetime
- Download the Gmail_API_generator folder from https://github.com/thibautsabot/Gmail_API_generator
- Install the mandatory packages with
npm install
- Follow the instructions