Skip to content

A smart door that grants access if everyone wears a face mask.

Notifications You must be signed in to change notification settings

Aymane11/SmartDoor

Repository files navigation

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.

About

A smart door that grants access if everyone wears a face mask.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •