Bloom is a Django mental wellness app with mood tracking, journaling, wellness insights, an AI chatbot, and therapist booking.
- Django 5
- PostgreSQL
- Django templates
- OpenAI SDK
- Pillow
- Create and activate a virtual environment.
- Install dependencies:
pip install -r requirements.txt- Configure environment variables in
.env. - Run migrations:
python manage.py migrate- Start the server:
python manage.py runserverThe project is configured to use PostgreSQL through DATABASE_URL.
Example:
DATABASE_URL=postgresql://postgres:your_password@localhost:5432/BloomYou can inspect PostgreSQL-backed data in two ways.
Using Django shell:
python manage.py shellExample:
from django.contrib.auth.models import User
from therapists.models import TherapistProfile
print(User.objects.count())
print(TherapistProfile.objects.count())Using Django admin:
python manage.py createsuperuser
python manage.py runserverThen open http://127.0.0.1:8000/admin/.