HACC2016 / dadatadudes2

HACC Repository for team "DaDataDudes"
MIT License
0 stars 4 forks source link

Homeless Risk Assessment Dashboard & GraphQL Server

Development

  1. Have Node && MongoDB installed locally. (Make sure you are using Node v6.x.x and have the mongo daemon running)
  2. Install Webpack-Dev-Server globally npm i -g webpack-dev-server
  3. npm install to install node dependencies
  4. source .env && node seed/mongo.js up to seed local mock data
  5. npm run dev
  6. Navigate to http://localhost:8000 to see your app in action.
  7. Navigate to http://localhost:8000/graphql to mess around with the GraphQL API.

Test out graphiql queries!

query TestQuery {
  persons {
    age
    firstName
    lastName
    assessments {
       overallRiskScore
    }
  }
}