Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

Latest commit

 

History

History
90 lines (57 loc) · 2.23 KB

README.md

File metadata and controls

90 lines (57 loc) · 2.23 KB

SmartDoor

SmartDoor that grants access if everyone wears a face mask.
View Demo · Report Bug


Table of Contents

About The Project

Demo

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.

Built Using

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • Java 8 or later
  • Maven
  • A MySQL database

Usage

1- Clone the repo :

$ git clone https://github.com/Aymane11/SmartDoor.git

2- Install requirements :

$ cd SmartDoor
$ mvn install

3- Set the environment :

$ cd src/main/resources
$ cp env.sample .env

Then change the variables values with your database credentials.

4- Set up the database :

The database schema file src/main/resources/db/db_scheme.sql should be loaded in the database that you'll assign for the project.

5- Run the program :

In the root folder run the following command:

$ mvn compile exec:java
Admin Dashboard

A default admin (admin:password) is already configured in the database.