Homeless Risk Assessment Dashboard & GraphQL Server
Development
- Have Node && MongoDB installed locally. (Make sure you are using Node v6.x.x and have the mongo daemon running)
- Install Webpack-Dev-Server globally
npm i -g webpack-dev-server
npm install
to install node dependencies
source .env && node seed/mongo.js up
to seed local mock data
npm run dev
- Navigate to
http://localhost:8000
to see your app in action.
- 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
}
}
}