Direction of the sun during car trips.
The front-end is a Preact website packaged with ViteJS.
The back-end is a serverless Azure Function app.
See demo website.
- run the following commands
cd app
npm install
npm run dev- then open http://localhost:5173 in browser of choice
- copy
local.settings.json.sampletolocal.settings.json - update
AZURE_MAPS_API_KEYwith an API key for Azure Maps - run the following commands
cd api
dotnet clean && dotnet build
func host start- open http://localhost:7071 in browser of choice
Copyright (c) 2023-2024 Yvan Razafindramanana
This project uses open-source, third party software:
- ViteJS: MIT License, Copyright (c) 2019-present Evan You & Vite Contributors
- Preact: MIT License, Copyright (c) 2015-present Jason Miller
- preact-i18n: BSD 3-Clause "New" or "Revised" License, Copyright (c) 2017, Synacor, Inc.
- Chart.js: MIT License, Copyright (c) 2014-2022 Chart.js Contributors
- Azure Function Core Tools: MIT License, Copyright (c) .NET Foundation
This project uses graphics under Creative Commons licence:
- Icons by Simple Icons: CC0 1.0 Universal
- Icons by Remixicon - Apache License 2.0
- Phone Mockups by Flowbite
The website is a derivative of Laurent Begey's work: MIT License, Copyright (c) 2024 Laurent Begey
Service worker is a derivative from Service Worker boilerplate: MIT License, (c) Chris Ferdinandi
Additional tooling:
- Favicons: RealFaviconGenerator and Maskable.app