SmartDoor that grants access if everyone wears a face mask.
View Demo
·
Report Bug
With last Covid-19 pandemic, wearing a face mask became a necessity, thats why we made a SmartDoor application, that grants access to users only if they wear a face mask. It's also included with an administration interface to edit or add admins and view old sessions stored in the database.
To get a local copy up and running follow these simple steps.
- Java 8 or later
- Maven
- A MySQL database
$ git clone https://github.com/Aymane11/SmartDoor.git
$ cd SmartDoor
$ mvn install
$ cd src/main/resources
$ cp env.sample .env
Then change the variables values with your database credentials.
The database schema file src/main/resources/db/db_scheme.sql
should be loaded in the database that you'll assign for the project.
In the root folder run the following command:
$ mvn compile exec:java
A default admin (admin:password) is already configured in the database.