Skip to content

HTML | CSS | JavaScript | Node.js | Express | OpenAI API | SQL | Full-stack app built for Microsoft AI Hackathon 2025

Notifications You must be signed in to change notification settings

KAMO333/MS-AI-Hackathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Care Mind πŸ€πŸ’¬

A full-stack application that helps social workers manage client information and get AI-powered assistance, with proper client data integration.

Project Status Tech Stack

πŸ“ Project Structure

✨ Key Features

  • πŸ§‘β€πŸ’Ό Complete client data integration with AI responses
  • πŸ€– Intelligent context-aware suggestions
  • πŸ’Ύ SQL database storage for all interactions
  • πŸ”„ Real-time AI responses with client context
  • πŸ›‘οΈ Error handling and user feedback

πŸ› οΈ Technologies Used

  • Backend:
    • Node.js 🟒
    • Express.js πŸš€
    • OpenAI API 🧠 (GPT-3.5-turbo)
    • MSSQL πŸ—ƒοΈ
    • CORS πŸ”„
  • Frontend:
    • HTML5 πŸ“„
    • CSS3 🎨
    • JavaScript 🟨 (ES6)

πŸš€ Installation Guide

Prerequisites

  • Node.js (v14+)
  • npm (v6+)
  • SQL Server instance
  • OpenAI API key

Setup Instructions

  1. Clone the repository:

    git clone https://github.com/yourusername/social-worker-assistant.git
    cd social-worker-assistant
  2. Backend setup:

    cd backend
    npm install
  3. Environment configuration: Create .env file in backend folder with:

    PORT=3000
    DB_USER=your_db_username
    DB_PASSWORD=your_db_password
    DB_SERVER=your_server_address
    DB_DATABASE=your_db_name
    OPENAI_API_KEY=your_openai_key
  4. Database setup: Ensure your SQL Server has a table with this structure:

    CREATE TABLE Clients (
      id INT IDENTITY(1,1) PRIMARY KEY,
      name NVARCHAR(100),
      surname NVARCHAR(100),
      age INT,
      location NVARCHAR(100),
      issue NVARCHAR(255),
      response NVARCHAR(MAX),
      created_at DATETIME DEFAULT GETDATE()
    )

πŸƒ Running the Application

  1. Start the backend server:

    cd backend
    node src/server.js
  2. Open in browser: http://localhost:3000

πŸ–₯️ Usage Guide

  1. View Client Dashboard:

    • Automatically loads client information
    • Displays name, age, location, and primary issue
  2. Send Messages:

    • Type your message in the text area
    • Click "Send to AI"
    • Client context is automatically included
  3. View Responses:

    • AI responses appear in the response section
    • Formatted with proper line breaks
    • Includes contextual advice based on client data

About

HTML | CSS | JavaScript | Node.js | Express | OpenAI API | SQL | Full-stack app built for Microsoft AI Hackathon 2025

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •