gdsc-seoultech / DontSleepDriver_Back

don't Sleep Driver 백엔드 Repo입니다.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't Sleep Driver

What is Don't Sleep Driver?

Every year, drowsy driving causes numerous traffic accidents and many people are injured or killed. In Korea, 70% of deaths in highway traffic accidents are due to drowsiness or neglect.

The death rate from drowsy driving is much higher than drunk driving, but awareness of the risks is very low. Drivers who drive alone for long periods of time are vulnerable to drowsy driving.

So, to solve this problem, we created an app to prevent drowsy driving called Dont Sleep Driver.

Feature

Users can sign in with their email and password and can easily sign up and sign in with OAuth2.0 technology.

When the user starts driving and presses the start button of the app, it recognizes faces through the camera and determines whether or not they are asleep.

If the user is drowsy while driving, a warning alarm will sound, as well as an alarm for stretching and ventilation every 30 minutes and 2 hours.

You can end driving and inquire about your driving record, gps information and sleep level in the record tab.

Demo Video

DontSleepDriver

Repositories

Project Setting

  1. download docker Link
  2. environment variables Setting
  • root folder make file .development.env
DATABASE_URL="mysql://root:rootuserpassword@mysql-dev:3306/dont_sleep_driver_db?schema=public"

//docker Container MySQL
MYSQL_ROOT_USER=root
MYSQL_ROOT_PASSWORD=rootuserpassword
MYSQL_DATABASE=dont_sleep_driver_db

//Email Setting
EMAIL_SERVICE={email platforms }
EMAIL_AUTH_USER={email address}
EMAIL_AUTH_PASSWORD={email password}
EMAIL_HOST={email hosting Service}
EMAIL_PORT=456

//docker Container Redis
REDIS_URL=redis   
REDIS_PORT=6379   

HOST=
PORT=3000
JWT_SECRET={jwt secret code}
JWT_EXPIRES={expires}
  1. docker-compose -f docker-compose.dev.yml up

👨‍👩‍👧‍👦 Team Member

Back-End Android ML
조인혁
조인혁
윤희서
윤희서

김예원
김예원
나건주
나건주

About

don't Sleep Driver 백엔드 Repo입니다.


Languages

Language:TypeScript 97.1%Language:JavaScript 1.6%Language:Shell 1.3%