https://github.com/kamo333/ms-ai-hackathon
HTML5, CSS3, JavaScript, Node.js, Express, OpenAI integration, SQL database management – developed for the Microsoft AI Hackathon 2025. A full-stack application that helps social workers manage client information with AI-powered assistance, providing context-aware suggestions based on integrated client data.
https://github.com/kamo333/ms-ai-hackathon
css3 expressjs html5 javascript nodejs openai sql
Last synced: 6 months ago
JSON representation
HTML5, CSS3, JavaScript, Node.js, Express, OpenAI integration, SQL database management – developed for the Microsoft AI Hackathon 2025. A full-stack application that helps social workers manage client information with AI-powered assistance, providing context-aware suggestions based on integrated client data.
- Host: GitHub
- URL: https://github.com/kamo333/ms-ai-hackathon
- Owner: KAMO333
- Created: 2025-05-02T13:52:52.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-05-04T14:55:25.000Z (11 months ago)
- Last Synced: 2025-05-21T20:12:05.695Z (11 months ago)
- Topics: css3, expressjs, html5, javascript, nodejs, openai, sql
- Language: JavaScript
- Homepage:
- Size: 292 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Care Mind 🤝💬
A full-stack application that helps social workers manage client information and get AI-powered assistance, with proper client data integration.


## 📁 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**:
```bash
git clone https://github.com/yourusername/social-worker-assistant.git
cd social-worker-assistant
```
2. **Backend setup**:
```bash
cd backend
npm install
```
3. **Environment configuration**:
Create `.env` file in backend folder with:
```env
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:
```sql
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**:
```bash
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