/evictions.runthedata.io

A website that tracks eviction filings in Travis County, TX

Primary LanguageJavaScriptMIT LicenseMIT

evictions.runthedata.io is a website that tracks eviction filings in Travis County, TX.

You can suggest an improvment or report a problem by opening an issue.

Code contributions are welcome! Read on to get the app running locally.

Get it running

This is a Next.js app powered by a Hasura graphql endpoint.

The easiest way to get started is to connect a local copy of the app to our public eviction case API. See here if you want to run the Postgres + Hasura API locally.

  1. Clone this repo and create a file called .env.local in root directory. This environment file needs a single environmental variable which points to the evictions API:
# .env.local
NEXT_PUBLIC_HASURA_GRAPHQL_ENDPOINT=http://api.runthedata.io/v1/graphql
  1. Install Node.js and NPM, then run:
$ npm install    
  1. Start the development server by running:
$ npm run dev
  1. Open http://localhost:3000 with your browser to see the result.