Skip to content

This is a server for a project which aims to create a system that can help improve driver awareness while driving. See the related repository in README file.

License

Notifications You must be signed in to change notification settings

Ella475/Db-and-Server-For-Awareness-Detection-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Db-and-Server-For-Awareness-Detection-App

Description

This is a server and database system designed to support the Driver Awareness Monitoring app.
The app, which can be accessed through its GitHub repository here, uses a Python-based Flask server to interact with a MySQL database.
The database is created and managed using Python code.

Installation

  1. Download MySQL.
  2. Edit the credentials.json file to contain your MySQL username and password.
  3. Install the necessary requirements by running the following command in your terminal:
pip install -r requirements.txt
  1. Create the database by running the following command in the terminal:
python -m run_db

You can delete the existing database and tables using the -d flag before creating new ones.

  1. Run the server by running the following command in the terminal:
python -m run_server

Usage

The server is utilized by the app to store and retrieve data from the database.
The server is also responsible for processing the data before and after it is saved in the database.

License

MIT

About

This is a server for a project which aims to create a system that can help improve driver awareness while driving. See the related repository in README file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages