An application designed to track and measure daily stress and tiredness levels. With a simple interface, Tireder helps you easily log daily feelings to gain insight into your well-being.
Tireder, your daily tiredness tracker, is an application to help users measure their stress and tiredness levels. Once registered, users can log in to submit their current feeling and have access to their past records. Tireder also provides a real-time chatbot to assist users in managing their stress. This project is developed using Python, MongoDB, JSON and Socket.
Home Page | Entry | Profile | Chatbot |
---|---|---|---|
- User Registration and Authentication:
- Users can create new accounts, log in, and manage profiles
- Password-based authentication ensure secure access
- Tiredness Entry:
- Enable users to log their current tiredness levels
- Implement JSON formatting for user’s input, including a rating system and optional notes to log their current tiredness levels.
- View Past Entries:
- Allow users to review their past tiredness entries with varied viewing options
- Ensure real-time interface updates when a new log are made
- Real-Time Chatbot Integration:
- Use the OpenAI API and Socket.io to implement a real-time chat user interface, this feature aims to assist users in managing their stress and tiredness
- Admin Management:
- Manage user accounts
- Monitor user entries for better insight
- Database Utilization:
- Implementation of MongoDB for data storage
- Use of JSON for data formatting
Tireder/
│
├── server/
│ ├── __init__.py
│ ├── admin.py
│ ├── auth.py
│ ├── chatbot.py
│ ├── models.py
│ ├── utils.py
│ └── views.py
│
├── web_client/
│ ├── static/
│ │ ├── css/
│ │ ├── img/
│ │ └── js/
│ └── templates/
│ ├── admin/
│ │ ├── admin.html
│ │ └── details.html
│ ├── base.html
│ ├── chatbot.html
│ ├── home.html
│ ├── login.html
│ ├── logout.html
│ ├── profile.html
│ └── signup.html
│
├── config.py
├── main.py
├── README.md
└── requirements.txt
To run the application, follow the steps below:
- Clone the repository:
git clone https://github.com/Pumbaaxx/Tireder.git
- Install the dependencies:
pip install -r requirements.txt
- The
config.py
file contains the necessary configurations for this project. Modify the file to set your MongoDB URI, OpenAI API key, and necessary variables - Run the application:
python main.py
- Open your browser and go to
http://localhost:5000/
APIs:
Styling:
- Bootstrap
- chatbox: codepen
- avatars: Freepik - Flaticon