Admin user interface for managing parking permits.
Related repositories:
Prerequisites:
- Node.js: 18.x or higher
- yarn: 1.22.x 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-admin-ui.git
Install the project:
$ cd parking-permits-admin-ui
$ yarn install
Make a local .env.template
copy:
$ cp .env.template .env.development.local
Run the application in the development mode:
$ yarn start
In the project directory, you can run:
Install pre-commit hooks with husky. You only need to run it once after installing the project.
Run the app in the development mode. Open http://localhost:3000/ to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
If you make changes to the .env files., you need to re-start the development server
Lint code with ESLint
Lint code with ESLint and try to fix errors
Format code with prettier
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!