A home portal that support user authentication, blood pressure logging
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:
This method may not be accurate under strong difference in terms of light condition
# 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 [email protected] --username root
# update the .env in setting folder
# start the server
python manage.py runserver
# 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