Skip to content

ecogetaway/psychologist-webapp

Repository files navigation

Psychologist Web Application

A comprehensive web application for psychologists to manage appointments, interact with clients through a chatbot, and provide voice-enabled therapy sessions.

Features

  • Appointment Management

    • Calendar view for scheduling
    • Appointment creation and editing
    • Reminder system
    • Conflict detection
  • AI-Powered Chatbot

    • Natural language processing
    • Voice interaction
    • Multi-language support
    • Context-aware responses
  • Voice Integration

    • Eleven Labs voice synthesis
    • Multiple voice options
    • Language-specific voices
    • Voice customization
  • Security & Compliance

    • HIPAA compliance
    • Secure data storage
    • Role-based access control
    • Audit logging

Tech Stack

Backend

  • FastAPI
  • PostgreSQL (Supabase)
  • Redis
  • OpenAI API
  • Eleven Labs API

Frontend

  • React
  • Redux
  • Material-UI
  • Bootstrap
  • i18next

Setup

Prerequisites

  • Python 3.8+
  • Node.js 14+
  • PostgreSQL
  • Redis

Backend Setup

  1. Create a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  2. Install dependencies:

    pip install -r requirements.txt
  3. Set up environment variables:

    cp .env.example .env
    # Edit .env with your configuration
  4. Run migrations:

    alembic upgrade head
  5. Start the server:

    uvicorn app.main:app --reload

Frontend Setup

  1. Navigate to frontend directory:

    cd frontend
  2. Install dependencies:

    npm install
  3. Start development server:

    npm start

API Documentation

Once the server is running, visit:

  • Swagger UI: http://localhost:8000/docs
  • ReDoc: http://localhost:8000/redoc

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

this is using windsurf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors