Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.
/ fever-api-legacy Public archive

An extremely complex and robust API for temperature monitoring 🔥 (No jokes)

Notifications You must be signed in to change notification settings

C41949/fever-api-legacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to fever-api 🔥

Just a study using flask for raspberry temperature monitoring

Why ❓

The idea is to use this project to study Flask and related technologies.

Roadmap 🗺️

This is a summary of the project goals:


Basic structure

  • Get the current temperature
  • Create an object with the current temperature
  • Get a list of previous temperatures

Deployment

  • Adds deploy with docker

Database

  • Adds a real database, PostgreSQL or similar

Enhance the list endpoint

  • Accept a date range as parameter
  • Adapt a list of previous temperatures with a default range to prevent querying all database

Add info about quantity of processes

  • Adds 'quantity of processes at that moment' when temperature is measured

Add cached default endpoints

  • Last hour
  • Last 24 hours
  • Last week
  • Last month
  • Average values for each one

Related

Usage

Coding

python3 -m venv api_env
source api_env/bin/activate
pip install -r req.txt
python wsgi.py

Deploy

make measure

Author

👤 Vinicius Kammradt

Show your support

Give a ⭐️ if this project helped you!