Home dashboard as a web service for displaying up-to-date weather and Helsinki public transport information. UI built to fit custom device requirements: not responsive as of Aug 18. 2024.
Frontend:
- Vite React with JavaScript
- TailwindCSS
Backend:
- Node.js
- Axios for making queries to APIs from backend
- Express REST API endpoints
Device:
- Huawei Tablet
- Fully Kiosk Browser for 24/7 screen awake
- Sign up to HSL Api.
- Fill the
HSL_PRIMARY_KEY
andHSL_API_URL
inbackend/.env.template
with credentials received from HSL API (above). - Rename
backend/.env.template
tobackend/.env
- In
/backend/
runnpm i
+npm run dev
- In
/frontend/
runnpm i
+npm run dev
- Done!
- HSL api (real time public transport + city bikes)
- GraphQL queries to API in backend
- Ilmatieteen laitos API for real time weather information.
- WFS 2.0 standard using Javascript SDK in backend
- Backend is not necessary but done as a practise
- GraphQL queries could have been done in frontend with e.g. Apollo Client instead of plain REST in backend
- Current UI is made to fit to exact device chosen with unique requirements for text size etc. due to age of the device --> Not responsive!
- Switch project over to TypeScript
TODO: Database access for user control to allow multiple people to access the dasboard.
TODO: Make the UI more responsive to different tablet screen sizes.