Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.85 KB

README.md

File metadata and controls

23 lines (17 loc) · 1.85 KB

Foier

About

Automates FOIA requests to Chicago's COPA (Civilian Office of Police Accountability) dependent on their complaint database.

Commands

Command Description
yarn clean
removes built artifacts
yarn lint
lints the codebase
yarn format
formats the codebase
yarn backend:build
compiles the backend js
yarn infra:deploy
deploys the Foier stack to the environment's default aws account
yarn deploy
cleans, builds the backend, and deploys the infra
awscurl --service execute-api \ 
-X [method][apig-uri] \
-d [body]
curl the apig endpoint with sigv4 auth

Dirs

  • bin contains the only "executable", app.ts, that's used for deploying the infrastructure
  • lib contains resources used by app.ts
  • src contains the backend source (hosted on aws lambda)