https://github.com/ssciwr/onehealth-map-frontend
https://github.com/ssciwr/onehealth-map-frontend
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ssciwr/onehealth-map-frontend
- Owner: ssciwr
- Created: 2025-04-30T11:31:55.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-08-21T16:08:25.000Z (about 2 months ago)
- Last Synced: 2025-08-21T18:59:52.091Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://mock-mapping-frontend.vercel.app
- Size: 1.03 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Overview
A project to render a map of NUTs regions with varied intensities, and later, with outbreaks.# How to run
- Put "nutsRegions.csv" in the `frontend/data` folder.
- cd to /frontend
- Run `pnpm i`
- Run `pnpm run dev`# How to use
The website can be used by visiting `http://localhost:5173/map`, which will present the user with two view modes.You can also share the link directly to a specific view mode:
- Citizen: `http://localhost:5173/map/citizen`
- Expert: `http://localhost:5173/map/expert`# Preview
# Data for the UI
## Future
In the future, the UI will make API requests to get the Data.## Presently - Static File / Python
Python is only used in a tiny way and not necessary for set up. It is used to create fake data for playing with the UI.If you would like to create that fake data, I would advise setting up a virtual environment for it.
Create a VENV with Python 3.12, activate it.
```bash
python3.12 -m venv ~/.venvs/oh
source ~/.venvs/oh/bin/activate
```