Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/romaindoyen/storm-tracker
This is a simple web application that tracks storms in real-time.
https://github.com/romaindoyen/storm-tracker
flask leaflet supabase tropycal-api
Last synced: 20 days ago
JSON representation
This is a simple web application that tracks storms in real-time.
- Host: GitHub
- URL: https://github.com/romaindoyen/storm-tracker
- Owner: RomainDoyen
- Created: 2024-10-05T11:36:42.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-14T03:20:15.000Z (about 2 months ago)
- Last Synced: 2024-11-14T04:22:00.875Z (about 2 months ago)
- Topics: flask, leaflet, supabase, tropycal-api
- Language: Python
- Homepage: https://storm-tracker-mxzl.onrender.com/
- Size: 1.63 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Storm tracker
This is a simple web application that tracks storms in real-time. It uses the [Tropycal API](https://tropycal.github.io/tropycal/index.html) to get the data.
## Installation
1. Clone the repository
```bash
git clone https://github.com/RomainDoyen/storm-tracker.git
```2. Install the dependencies
```bash
pip install -r requirements.txt
```3. Create table in Supabase
```sql
CREATE TABLE Cyclones (
id VARCHAR(50) PRIMARY KEY,
idCyclone VARCHAR(50),
name VARCHAR(100),
vmax NUMERIC,
mslp NUMERIC,
lat NUMERIC,
lon NUMERIC,
classification VARCHAR(50)
);
```4. Set the environment variables in a `.env` file
```bash
SUPABASE_URL=
SUPABASE_KEY=
```5. Run the application
```bash
cd storm-tracker
``````bash
python run.py
```## Usage
The application will be running on [http://127.0.0.1:7000/](http://127.0.0.1:7000/)