The Parking Space Occupancy Visualization System project is a system designed for visualizing and editing the availability of parking lots. It integrates various components, including a PostgreSQL database with PostGIS extension, a PostgreSQL admin panel, and a Java program that connects to the database.
- PostgreSQL with PostGIS: A spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects allowing location queries to be run in SQL.
- PostgreSQL Admin Panel: A web-based administration tool for PostgreSQL that facilitates database management.
- Java Program: Connects to the database and handles the logic for updating and retrieving parking place availability.
To run the system, execute the following command:
docker-compose up -d
Please note that the initial build process may take some time. The PostgreSQL container will start first as the other two services depend on it.
This project was generated with Angular CLI version 16.2.8.
Pre-Requisite:
- node version ~ 21.1.0
- Npm version ~ 10.2.3
- check that npm is installed by running
npm --version
- install Angular cli using version 16.2.10.
sudo npm i @angular/cli@16.2.10
- install the required packages
npm install
- for running the application
ng serve
The frontend should be visible on : http://localhost:4200/
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.