GithubHelp home page GithubHelp logo

labatata101 / oximeter-rest-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 56 KB

REST Api for manipulating the sensor data received from the oximeter monitor.

License: GNU General Public License v3.0

Procfile 0.44% Python 96.25% Mako 3.31%
fastapi python rest-api

oximeter-rest-api's Introduction

Oximeter REST Api

Project made for my Microcontrollers class, the goal of this project is to collect the heartrate and oxygen saturation data using the ESP32 microcontroller and the MAX30100 sensor. The whole project is divided into 3 parts/repositories: the microcontroller firmware, the REST Api (this repository) for the data management and the Telegram bot for real time data visualization.

The API offers 5 routes to manipulate the data received from the sensor, you can check them by going to http://127.0.0.1:8000/docs#/ after running the project.

Dependencies

  • fastapi v0.78.0
  • SQLAlchemy v1.4.39
  • uvicorn v0.18.2
  • alembic v1.8.0
  • psycopg2-binary v2.9.3
  • PostgreSQL v14.3

Installing and running the project

Clone the project:

$ git clone https://github.com/LaBatata101/oximeter-rest-api
$ cd oximeter-rest-api/

Installing the dependencies using pip:

$ pip install -r requirements.txt

Or, using poetry:

$ poetry install

Running:

$ POSTGRES_USER=YOUR_DB_USER POSTGRES_PASSWORD=YOUR_DB_PASSWORD POSTGRES_SERVER=YOUR_DB_SERVER POSTGRES_DB=YOUR_DB_NAME uvicorn oximeter.main:app --reload

oximeter-rest-api's People

Watchers

 avatar

Forkers

vinuxd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.