Skip to content

alice-yt/hackbright-project

Repository files navigation

🌙 Sleep Journal ☁️

Sleep Journal is a sleep tracking full-stack web application that allows the user to input sleep time and duration, sleep quality, responses to other lifestyle fields, and view past entries. Sleep Journal facilitates personal change to achieve better sleep and is built for anyone who is looking to improve his or her sleep.

Contents

View my YouTube demo!

Features 🌙

User registration, log-in, and log-out


User-friendly menu page


Log a daily entry on your sleep and related health and lifestyle fields


View sleep entries


Technologies and Stack 🌙

Backend: Python, Flask, PostgreSQL, SQLAlchemy, Flask-SQLAlchemy
Templating: Jinja
Frontend: Javascript, jQuery, Bootstrap, HTML5, CSS3, Google Fonts, Font Awesome

Set-up & Installation 🌙

Install a code editor such as VS code
Install Python3
Install pip, the package installer for Python
Install postgreSQL for the relational database

Clone or fork repository:

$ git clone https://github.com/alice-yt/hackbright-project

Create and activate a virtual environment inside the directory:

$ virtualenv env
$ source env/bin/activate

Install dependencies:

$ pip3 install -r requirements.txt

With PostgreSQL, create the sleepjournal database:

$ createdb sleepjournal

Create all tables and relations in the database and seed all data:

$ python3 seed_database.py

Run the app from the command line:

$ python3 server.py

☁️ About the Developer

Sleep Journal creator, Alice Tang, graduated from Wellesley College with a double major in Economics and English. Previously, she worked as a marketing/advertising analyst. She developed an interest in software engineering when she worked closely with software engineers and saw how they were able to solve consumer and business problems with programming. She is most passionate about products that fulfill a user need, the intersection between human behavior and technology, and elegant design. This is her first full-stack project.

She can be found on LinkedIn and on Github.

About

Hackbright Academy 2020 Capstone Project: Sleep Journal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published