This repository contains source code of a web parking reservation system. It was created as part of UnIT hackathon 2021, specifically for ABRA challenge.
To start developing, install Node.js (tested on version 12.22.1
) and run the following commands.
npm install
npm run dev
Recommended IDE is Visual Studio Code with extension Svelte for VS Code.
The application is developed in Svelte (similar to React but faster) using SvelteKit (similar to Next.js for React). Modern JavaScript is used for both server-side and client-side code and Sass is used for styling.
See ARCHITECTURE.md.
The application can be deployed to Heroku out of the box.
Just beware that the ABRA FLEXI API which is used on the backend does not allow us to set dates with timezones, hence timezone must be in sync.
This can be done easily by setting environment variable TZ
on Heroku.
TZ=Europe/Prague