https://github.com/kiminzajnr/habit_tracker
https://github.com/kiminzajnr/habit_tracker
css flask html5 jinja2 mongodb render-deployment
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kiminzajnr/habit_tracker
- Owner: kiminzajnr
- License: mit
- Created: 2024-08-23T01:20:55.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-30T19:15:14.000Z (almost 2 years ago)
- Last Synced: 2025-02-23T12:55:44.701Z (over 1 year ago)
- Topics: css, flask, html5, jinja2, mongodb, render-deployment
- Language: HTML
- Homepage: https://habit-tracker.discoverwitherick.tech/
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Habit Tracker
A habit tracker application built using Python Flask and MongoDB. The application allows users to track their habits daily, mark them as complete, and view them in a calendar-like format.
## Features
- Track Habits
- Mark Habits as Complete
- View Habit History
## Technologies Used
- **Frontend:** HTML, CSS
- **Templating Engine:** Jinja2
- **Backend:** Python Flask
- **Database:** MongoDB
## Setup Instructions
### Prerequisites
- Python 3.x
- MongoDB
- pip
### Installation
1. **Clone the repository:**
```bash
https://github.com/kiminzajnr/Habit_Tracker.git
cd Habit_Tracker
2. Create an environment
```
python3 -m venv .venv
3. Activate the environment
```
. .venv/bin/activate
4. **Install the required packages:**
```
pip install -r requirements.txt
5. **Set up environment variables:**
Create a `.env` file in the root directory of the project and add your MongoDB connection string:
```
MONGODB_URI=your_mongodb_uri
6. **Run the application:**
```
flask run
The application will be available at http://127.0.0.1:5000/.