Skip to content

Backend configuration

arthurgustin edited this page Feb 24, 2018 · 3 revisions

Development cluster informations:

There is dev cluster running on the following ip: 35.189.237.176 Since it runs on my google account with my credit card, I won't guaranty its stability, nor its performance.

Postman collection

Here is a link to a postman collection containing sample requests: https://www.getpostman.com/collections/f6ebc8053f9d1035470e In order to use it, you need to add two variables in a postman environment: token and host

  • The host variable must be set to http://35.189.237.176
  • The token variable is a jwt token provided by google. You can generate one by going to http://35.189.237.176:81/test-auth-login, sign-in with google. When you get redirected after the login, you can see the token in the javascript console log of the browser -> right-click: examinate or something like that (My browser is in french so I don't know)

Database initial setup

I (arthurgustin) already have an account on the database. I'm the platform admin. I created 2 "pending account" for Vinu and John with the officemanager role. When you will make an authenticated request with vinu.singh@gmail.com or johngallegodev@gmail.com for the first time, it will normally work, and you will be able to play with the children adult and teacher api.

Clone this wiki locally