Parking Permits Webshop for buying parking permits in City of Helsinki.
Related repositories:
Prerequisites
- Yarn 1.22.x or higher
- Node 14+ or higher
The application requires a running parking-permits backend, you can find more details in this repo on how to set up the backend.
Clone the repository:
$ git clone [email protected]:City-of-Helsinki/parking-permits-ui.git
Install the project:
$ cd parking-permits-ui
$ yarn install
Make a local .env.template
copy:
$ cp .env.template .env.development.local
Run the application in the development mode:
$ yarn start
This will start the application on port 3000
.
-
Check if Docker and docker CLI installed, port
3000
is free, not occupied by running server. -
Start building docker image and start container:
$ docker-compose up
-
Open
localhost:3000
on browser.
To run tests:
$ yarn test