This project is a Stevens Institute of Technology Commuter Emissions Visulaizer created from as our Senior Design Project. We worked with the Office of Sustainability to collect commute information from faculty and students at Stevens Institute of Technology during the Fall 2023 to Spring 2024 semesters.
- Shawn
- Harris
- Justin
| Bar Chart | Pie Chart |
|---|---|
![]() |
![]() |
Repo made using React + TypeScript + Vite
- Clone Repo Locally (or fork)
- In
frontend, create.envfile with your MapBox API key to be stored- reference the .env.example to see how to set it up
- create a new
.envfile with the variable namedVITE_MAPBOX_TOKEN(all env variables here must be prefixed with VITE)
- In
backend, create.envfile- .env.example
- enter valid key for GOOGLE_MAPS_DIRECTIONS_TOKEN
- run
docker compose up- starts the frontend and backend docker images with the app viewable on
http://localhost:5173and server running onhttp://localhost:3000
- starts the frontend and backend docker images with the app viewable on
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptionsproperty like this:
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},- Replace
plugin:@typescript-eslint/recommendedtoplugin:@typescript-eslint/recommended-type-checkedorplugin:@typescript-eslint/strict-type-checked - Optionally add
plugin:@typescript-eslint/stylistic-type-checked - Install eslint-plugin-react and add
plugin:react/recommended&plugin:react/jsx-runtimeto theextendslist



