yarn
rails db:seed
SECRET="something" foreman start web
foreman start css-types
- head to localhost:3000/account/show
- login with username either: [email protected] or [email protected]
- password is the same for both users: 123456
- tallies of all responses to a particular survey can be viewed at /survey_report/:survey_id
- (a :report_id can be retrieved from the database of the elixir ms
- psql capture_dev
- select * from responses
- not ready yet! one needs to be created for question_report/:question_id
mutation{ signinUser( email:{ email:"[email protected]", password:"123456" } ){ token user { id } } }
{ "Authorization": "Bearer: abc123" }