Diagnosync is an AI-powered health assistant designed to provide answers and diagnoses for health-related questions. It allows users to interact with the assistant via chat, manage their health-related queries through session creation, and keep track of their concerns in an organized manner.
This project was developed during the 7-day Klusterthon Hackathon, utilizing modern technologies to create a seamless user experience.
- User Registration and Authentication: Secure sign-up and login system.
- Session Management: Users can create, rename, and delete sessions to organize health-related questions.
- AI Chat Assistant: Real-time responses to health queries using the OpenAI API.
- Responsive Design: Built with Tailwind CSS for a clean and user-friendly interface.
- Frontend: Next.js, Tailwind CSS
- Backend: Node.js, Express
- Database: MongoDB
- AI Integration: OpenAI API
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Chizycodes/klusterthon-326.git
-
Navigate into the project directory:
cd klusterthon-326
-
Install frontend dependencies:
cd frontend npm install
-
Install backend dependencies:
cd ../backend npm install
-
Create a
.env
file in the backend directory and add your OpenAI API key and MongoDB URI:OPENAI_API_KEY=your-openai-api-key MONGODB_URI=your-mongodb-uri
-
Start the development server for the backend:
npm run dev
-
Open another terminal, navigate back to the frontend directory, and start the development server:
cd ../frontend npm run dev
-
Open http://localhost:3000 in your browser to view the app.