# NeuroSenseAI
NeuroSenseAI is an AI-powered brain stimulation platform built with Next.js, Genkit, and ShadCN UI. It provides a comprehensive dashboard for managing patient data, configuring external servers, integrating with brain stimulation devices, and analyzing neural data.
## Features
– **Patient Configuration**: Manage patient information.
– **External Server Configuration**: Configure connections to external data sources like InfluxDB.
– **Device Integration**: Connect to and manage brain stimulation hardware.
– **Brain Stimulation Protocols**: View and manage stimulation protocols.
– **Neural Analysis**: Analyze and visualize neural data.
– **Sensor Data Recording**: Record and report on real-time sensor data.
## Tech Stack
– [Next.js](https://nextjs.org/) – React framework for production.
– [React](https://react.dev/) – A JavaScript library for building user interfaces.
– [TypeScript](https://www.typescriptlang.org/) – Typed superset of JavaScript.
– [Genkit](https://firebase.google.com/docs/genkit) – A framework for building AI-powered applications.
– [ShadCN UI](https://ui.shadcn.com/) – Re-usable components built using Radix UI and Tailwind CSS.
– [Tailwind CSS](https://tailwindcss.com/) – A utility-first CSS framework.
## Getting Started
To get a local copy up and running, follow these simple steps.
### Prerequisites
– Node.js (v20 or later)
– npm
### Installation
1. Clone the repo
“`sh
git clone https://github.com/your_username_/your_project_name.git
“`
2. Install NPM packages
“`sh
npm install
“`
### Running the Application
To run the application in a development environment, use the following command:
“`bash
npm run dev
“`
This will start the Next.js development server, typically on [http://localhost:9002](http://localhost:9002).
## Project Structure
– `src/app/`: Contains the pages and routing for the Next.js application. The main dashboard is at `src/app/dashboard/page.tsx`.
– `src/ai/`: Holds the Genkit AI flows and configurations.
– `src/ai/flows/`: Contains the Genkit flows for interacting with generative AI models.
– `src/components/`: Includes all the React components used in the application, including UI components from ShadCN.
– `src/services/`: Contains services for fetching data from external sources or APIs.
– `public/`: Static assets.
