Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kiminzajnr/habit_tracker
https://github.com/kiminzajnr/habit_tracker
css flask html5 jinja2 mongodb render-deployment
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kiminzajnr/habit_tracker
- Owner: kiminzajnr
- License: mit
- Created: 2024-08-23T01:20:55.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-08-30T19:15:14.000Z (5 months ago)
- Last Synced: 2024-11-09T16:16:17.794Z (2 months 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_Tracker2. Create an environment
```
python3 -m venv .venv3. Activate the environment
```
. .venv/bin/activate4. **Install the required packages:**
```
pip install -r requirements.txt5. **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_uri6. **Run the application:**
```
flask runThe application will be available at http://127.0.0.1:5000/.