Skip to content

Denis-Wanjohi/CAS

Repository files navigation

CLASS ATTENDANCE SYSTEM

This a refined class attendance system where checkin are made through facial recognition.

Project Setup

Clone the repository

git clone https://github.com/Denis-Wanjohi/CAS.git

Split the terminal or have two terminals opened. On the first terminal run

npm install

After spining up the packages run

npm run dev

Now to the second terminal run, change directory first

cd api

Install Composer Dependencies

composer install

Copy the Environment File

cp .env.example .env

Generate the Application Key

php artisan key:generate

Configure the Database

DB_CONNECTION=mysql      # Or pgsql, sqlite, mysql,etc.
DB_HOST=127.0.0.1        # Or your database host
DB_PORT=3306             # Or your database port
DB_DATABASE=your_database_name
DB_USERNAME=your_database_username
DB_PASSWORD=your_database_password

Run the migrations

php artisan migrate:fresh --seed

Serve the project

php artisan serve

Go to your browser and access the project through port 5173(http://localhost:5173/). use 'test@example.com' as the email to login as admin and password as '00000000'.

About

Class Attendance System (CAS) - refined class attendance system using facial recognition as a checkin method.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages