Skip to content
This repository has been archived by the owner on Sep 26, 2020. It is now read-only.

Benefits calculator / visualization tool created by the NYC 2016 fellows team as an introductory project.

License

Notifications You must be signed in to change notification settings

codeforamerica/nyc-poverty-visualization

Repository files navigation

Stories in Ready Code for America NYC 2016 January Project

An interactive visualization of which NYC families can access which different services depending upon their income level and number of household members.

Usage

npm install
npm start
open http://localhost:3000

Setup a postgres database names januaryproject:

$psql (start psql)
createdb januaryproject
\q (quit psql)
npm initdb (custom npm script)

Now edit src/App.js.
Your changes will appear without reloading the browser like in this video.

Linting

This boilerplate project includes React-friendly ESLint configuration.

npm run lint

Using 0.0.0.0 as Host

You may want to change the host in server.js and webpack.config.js from localhost to 0.0.0.0 to allow access from same WiFi network. This is not enabled by default because it is reported to cause problems on Windows. This may also be useful if you're using a VM.

Missing Features

This boilerplate is purposefully simple to show the minimal configuration for React Hot Loader. For a real project, you'll want to add a separate config for production with hot reloading disabled and minification enabled. You'll also want to add a router, styles and maybe combine dev server with an existing server. This is out of scope of this boilerplate, but you may want to look into other starter kits.

Dependencies

Resources

About

Benefits calculator / visualization tool created by the NYC 2016 fellows team as an introductory project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •