Health and activity tracker REST API with Flask:
About the Project
This API was design to to track health and activity/excercises for each user. You can only create users, the update and delete function were removed to moderate data deletion. Each activity log and health log must be assigned with a user.
**Note this project was created using a .env file, and will need a separate .env to run.
Getting Started
This application is deployed on heroku: Health Activity API. Please view the API documentation to get started API Documentation
Installation to use on local machine:
- Pull files from repository.
git clone https://github.com/williamle92/Health_activity_API.git
- Optional: Create a virtual environment using
python -m venv venv
- To install all dependencies to project
pip install -r requirements.txt
- Create a .env file
- Link database url: "postgresql://scott:tiger@localhost/mydatabase", for more information please visit: Flask-SQLAlchemy Configurations
- Set up database "flask db init"
- migrate "flask db migrate"
- Upgrade: "flask db upgrade"