astoria-tech / 50-a-foil-status

Tracking Freedom of Information Law Requests in New York State
https://track50a.astoria.digital/
MIT License
6 stars 5 forks source link
community muckrock social-justice visualization

Muckrock 50-a FOIL request status

This readme is still really rough. Let's improve it together ☆

3-step Quick start

1. One-time datastore setup

cd server
npm i
npm run datastore:init:quick

2. Server setup

cd server
npm i # If you didn't already do this when setting up the datastore
npm run dev

Serves on port 3000.

Try it by sending a GET request to localhost:3000/v1/latest.

3. Browser app setup

cd browser
npm i
npm start # When prompted about ports, enter "Yes".

Serves on port 3001.

Try it by navigating your browser to localhost:3001.

Server notes

Npm scripts

To run one of these scripts, prepend npm run before the script name (e.g., npm run dev).

Server

Datastore

Tests

Datastore notes

Output is written to server/src/datastore/data. This data is not tracked in version control.

Reference data is provided in server/src/datastore/referenceData/. This data is not used in the application but is instead provided as a reference for the developer. See reference data readme for notes on the files contained within.