A React-based Website for exploring, visualizing, and interpreting Vermont data. Users can upload one or more datasets and view tables, data summary reports, and custom plots through an interactive interface. The backend is based on https://github.com/iansargent/Data-Exploration-Tool-in-Python.
- Clone this repository:
- First, get set up with large file tracking for git
- Then, run the following in your terminal:
git lfs install
git clone https://github.com/FWJK1/react-vt-data
cd vermont-livability-
Install python dependencies:
- First, set up conda if you don't already have it.
- Then, use conda to set up your python environment
cd backend conda env create -f environment.yml -
Install backend react dependencies:
- First, set up npm
- Then, use npm to install the dependencies:
cd frontend npm install
-
Create the Local API Instance in one terminal (from the project root)
cd backend conda activate leahy-data uvicorn api.main:app --reload --port 6767 -
Setup your build to access the local API by adding
NEXT_PUBLIC_API_URL=http://localhost:6767infrontend.env.local -
Run the website from a differnent terminal instance (from the project root):
cd frontend npm run dev- Then open http://localhost:3000 with your browser to see the result.
All development must:
- Use the
prettierformatter andeslintlinter for reliable diffs in typescript, andruff formatin python.
All development should:
- Use Mantine UI where applicable.
- Use Axios for internal API queries (frontend requesting backend API).
- Use Duckdb for any new data queries.
This project is open-source under the MIT License.
- Developed by Ian Sargent and Fitzwilliam Keenan-Koch
- Created under the Open Research Community Accelerator (ORCA)
- Built using the React framework, with Mantine UI.