/NeuronLab-Backend

Primary LanguagePythonMIT LicenseMIT

BCI

NeuronLab Framework (Backend)

Brain Computer Interface (BCI) Framework for the study of biosignals.

About the project

BCI

NeuronLab is a secure, multiplatform, and web-based framework that provides a working environment to researchers where every phase of the BCI lifecycle (acquisition, preprocessing, features extraction, and classification) can be performed. Additionally, it defines sophisticated tools to study the EEG signals.

Built With

python FastAPI

Getting Started

Prerequisites

  • Python 3.8.
  • MySQL

Installation

  1. Clone the repo.
git clone https://github.com/JuananMtez/NeuronLab-Backend.git
  1. Change to project directory.
cd NeuronLab-Backend
  1. Install dependencies.
pip install -r requirements.txt
  1. Create database in MySQL.

  2. Modify properties in ./app/config/properties.ini .

[DATABASE]
user = TO BE DEFINED
password = TO BE DEFINED
host = TO BE DEFINED
database = TO BE DEFINED

[SECURITY]
secret_key = TO BE DEFINED
algorithm = TO BE DEFINED
access_token_expire_minute = TO BE DEFINED
parameter Description
user MySQL user
password MySQL password
host MySQL host
database MySQL database
secret_key Key used to sign the JWT tokens
algorithm Algorithm used to sign the JWT token
access_token_expire_minute Token lifetime in minutes

Usage

Run NeuronLab-Backend.

python3 -m uvicorn app.main:app

The tables will be created in the database automatically.

Author

License

This project is licensed under the MIT License - see the LICENSE file for details