Skip to content

A home portal that support user authentication, blood pressure logging

Notifications You must be signed in to change notification settings

marcozzxx810/home-automation-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

home-automation-project

A home portal that support user authentication, blood pressure logging

Description

This project is about home automation

There are two components: User and Blood Pressure Record

User:

  • authenicate with JWT
  • register with a secret code
  • login
  • logout

Blood Pressure Record:

  • create the record
  • read the record in a table format
  • update the record
  • delete the record
  • prefill the record with image

For the prefilling process:

Alt text

This method may not be accurate under strong difference in terms of light condition

How to setup

Backend

# move to the backend folder
cd backend

# install python dependencies
pip install -r requirements.txt

# perform the django data migration
python manage.py migrate

# create a django super admin
python manage.py createsuperuser --email admin@example.com --username root

# update the .env in setting folder

# start the server
python manage.py runserver

Frontend

# move to the frontend folder
cd frontend

# install dependencies
yarn

# update the .env
cp .env.example .env

# start frontend
yarn run dev

This require two terminal to run the stack

Demo

IMAGE ALT TEXT HERE

About

A home portal that support user authentication, blood pressure logging

Topics

Resources

Stars

Watchers

Forks