Skip to content

ProjectHireReady/ThryveSpace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ThryveSpace

This project has a React frontend (using Vite) and a Django backend.


πŸ”₯ Frontend Setup (React + Vite)

cd frontend
npm install
npm run dev

🧠 Backend Setup (Django + Django REST Framework)

Backend code is located in the backend/ folder.

βœ… Prerequisites

  • Python 3.10+
  • pip
  • Virtualenv (recommended)

πŸ”§ Setup Steps

cd backend

python3 -m venv env                # Create virtual environment
source env/bin/activate            # Activate it (Linux/WSL)
pip install -r requirements.txt    # Install dependencies

πŸ“ .env Configuration

Create a .env file inside the backend/ directory (same level as manage.py):

SECRET_KEY=your-secret-key
DEBUG=True

Use python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())' to generate a secret key.

πŸ›  Database & Server

python manage.py migrate           # Apply migrations
python manage.py runserver         # Run the development server

Visit: http://127.0.0.1:8000/


πŸ‘₯ Developers

Role Developer Responsibility
Developer 1 Backend setup, DRF config, CORS, env management
Developer 2 Moods API endpoint (/api/moods)
Developer 3 Journal entries API mock (/api/notes)

πŸ›‘ .gitignore Best Practices

Make sure the following are ignored:

.env
env/
__pycache__/
*.pyc

About

A mental wellness app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •