CoreSight AI
An advanced preventive health platform utilizing artificial intelligence to assess Liver and Pancreas health risks through biomarker analysis and clinical data insights.
๐ Features
- AI-Powered Early Detection: Advanced algorithms analyze biomarkers for liver and pancreas risk assessment
- Interactive Body Diagram: Visual exploration of organ health with clickable regions
- Personalized Dashboard: User-specific health monitoring and diagnostic results
- Secure Authentication: Login/register system with protected routes
- Responsive Design: Optimized for desktop, tablet, and mobile devices
- Dark/Light Theme: Customizable UI experience with theme persistence
- Educational Content: Comprehensive information about liver and pancreas health
- Clinical Impact Analysis: Data-driven insights for preventive care
๐ ๏ธ Tech Stack
- Frontend Framework: Next.js 14 with App Router
- Language: TypeScript
- Styling: Tailwind CSS
- Animations: Framer Motion
- State Management: React Context API
- Backend: Next.js API Routes
- Deployment: Vercel (recommended)
๐ Prerequisites
- Node.js 18 or higher
- Package manager: npm, yarn, pnpm, or bun
๐ง Installation
-
Clone the repository
git clone https://github.com/yourusername/coresight.git cd coresight -
Install dependencies
npm install # or yarn install # or pnpm install
-
Set up environment variables (if needed)
Create a.env.localfile in the root directory and add any required environment variables. -
Run the development server
npm run dev # or yarn dev # or pnpm dev
-
Open your browser
Navigate to http://localhost:3000 to view the application.
๐ Usage
For Users
- Landing Page: Learn about CoreSight AI and its capabilities
- Registration/Login: Create an account or sign in to access personalized features
- Dashboard: View your health assessment results and monitoring data
- Diagnosis: Use AI-powered tools to assess liver and pancreas health risks
- Organ Information: Explore detailed information about liver and pancreas health
For Developers
- API Routes: Located in
app/api/for liver and pancreas endpoints - Components: Reusable UI components in
components/directory - Context: Authentication and theme contexts in
context/directory - Utilities: Helper functions in
lib/directory
๐ Project Structure
coresight/
โโโ app/ # Next.js app router pages
โ โโโ api/ # API routes (liver, pancreas)
โ โโโ dashboard/ # User dashboard
โ โโโ diagnosis/ # Diagnosis tools
โ โโโ liver-info/ # Liver health information
โ โโโ pancreas-info/ # Pancreas health information
โ โโโ login/ # Authentication
โ โโโ register/ # User registration
โโโ components/ # Reusable React components
โ โโโ ui/ # UI components (Button, Card, Input)
โ โโโ LandingPage/ # Landing page sections
โ โโโ ... # Other components
โโโ context/ # React contexts
โ โโโ AuthContext.tsx # Authentication state
โ โโโ ThemeProvider.tsx # Theme management
โโโ lib/ # Utility functions
โโโ providers/ # Additional providers
โโโ public/ # Static assets (videos, images)
๐งช Development
Available Scripts
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLint
Code Quality
The project uses ESLint for code linting. Run npm run lint to check for issues.
๐ค Contributing
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Please ensure your code follows our coding standards and includes appropriate tests.
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
โ ๏ธ Medical Disclaimer
IMPORTANT: CoreSight AI is designed for educational and informational purposes only. The AI-powered assessments and health insights provided by this platform are not intended to constitute medical advice, diagnosis, or treatment. This tool should not be used as a substitute for professional medical consultation, diagnosis, or treatment.
- Always consult with qualified healthcare professionals for medical concerns
- The platform's risk assessments are based on general data and algorithms, not individual medical history
- Results should be interpreted in consultation with medical experts
- The developers and maintainers of CoreSight AI are not liable for any decisions made based on the platform's outputs
๐ Support
For questions, issues, or contributions:
- Open an issue on GitHub
- Contact the development team
๐ Future Enhancements
- Integration with wearable health devices
- Advanced biomarker analysis algorithms
- Multi-language support
- Offline functionality
- Integration with electronic health records (EHR)
Built with โค๏ธ using Next.js and TypeScript