This is the React UI for the court-scraper docket tool. This docket-ui
package
is included as a dependency in the docket
package, and all frontend stuff is
delegated to the dist/bundle.js
file that this package compiles.
This package doesn't include any backend at all. This makes it somewhat complicated to develop with! Here's how you get it up and running:
- Clone the docket package somewhere onto your computer and follow the install instructions.
- Clone this
docket-ui
package onto your computer and runnpm install
in the folder. - In a terminal session,
cd
into thedocket
repo and runnpm run start
. This will get the backend running. - In a separate terminal session,
cd
into thedocket-ui
repo and runnpm run test:server
. This will get the frontend running.
If everything goes well, the backend will be running at http://localhost:3000/
and the frontend will be running at http://localhost:3001/. Your frontend
will talk to the server on port 3000, but will reflect the code you've changed in
your working directory. You may need to run npm run build
to update your
dist/bundle.js
with changes.