A minimal web application to calculate sunset & sunrise times around the world. The front end currently communicates with an API via JSON fetch requests, but it could probably be made more static.
I haven't decided on a license for this project at the moment.
- Demonstrate practical knowledge of HTML, CSS, XML, and JSON
- Try FastAPI
- Learn about modern JavaScript techniques
First, have Python 3.9 or greater installed with a working pip. 3.8 may work as well, but it has not been tested. Then, clone this repository locally and do the following:
pip install .
- Launch the backend with
uvicorn app:app --reload
- Open https://localhost:8000/ in your browser
Mac & Linux users can use ./launch.sh
as shorthand to launch the application.
Component | License | Project or Source URL |
---|---|---|
Equirectilinear World Map | Public Domain | https://upload.wikimedia.org/wikipedia/commons/a/ac/World_location_map.svg |