A web application that provides a searchable, filterable, and exportable database of attorneys licensed in Hawaii.
The application also includes interactive data visualizations to provide additional insights.
- Node.js (version 14 or later recommended)
- yarn
-
Clone the repository:
git clone git@github.com:bronsonavila/hawaii-attorney-database-frontend.git cd hawaii-attorney-database-frontend
-
Install dependencies:
yarn install
To run the development server:
yarn dev
This will start the development server, typically at http://localhost:5173
.
To create a production build:
yarn build
The built files will be in the dist
directory.
The project uses Vitest and React Testing Library for testing. The test suite covers component rendering, data validation, and utility functions. Test scripts can be found in the package.json
file.
The application is deployed using Netlify with continuous deployment from the main
branch. Build settings are configured in netlify.toml
.
The attorney data is obtained from the Hawaii State Bar Association's Member Directory. It is scraped and processed using a custom Node.js application from a private backend repository and stored in a CSV file (public/processed-member-records.csv
), which the application loads at runtime.