A real-time analytics dashboard for monitoring user sessions and interactions with interactive data visualizations and detailed metrics.
- Real-time Session Monitoring: Track and analyze user sessions as they happen
- Interactive Visualizations: Geographic maps, response time distributions, and more
- Advanced Analytics: Detailed metrics and insights about user behavior
- User Management: Secure authentication with role-based access control
- Customizable Dashboard: Filter and sort data based on your specific needs
- Session Details: In-depth analysis of individual user sessions
- Frontend: React 19, Next.js 15, TailwindCSS 4
- Backend: Next.js API Routes, Node.js
- Database: Prisma ORM with SQLite (default), compatible with PostgreSQL
- Authentication: NextAuth.js
- Visualization: Chart.js, D3.js, React Leaflet
- Data Processing: Node-cron for scheduled tasks
- Node.js (LTS version recommended)
- npm or yarn
-
Clone this repository:
git clone https://github.com/kjanat/livedash-node.git cd livedash-node
-
Install dependencies:
npm install
-
Set up the database:
npm run prisma:generate npm run prisma:migrate npm run prisma:seed
-
Start the development server:
npm run dev
-
Open your browser and navigate to http://localhost:3000
Create a .env
file in the root directory with the following variables:
DATABASE_URL="file:./dev.db"
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your-secret-here
app/
: Next.js App Router components and pagescomponents/
: Reusable React componentslib/
: Utility functions and shared codepages/
: API routes and server-side codeprisma/
: Database schema and migrationspublic/
: Static assetsdocs/
: Project documentation
npm run dev
: Start the development servernpm run build
: Build the application for productionnpm run start
: Run the production buildnpm run lint
: Run ESLintnpm run format
: Format code with Prettiernpm run prisma:studio
: Open Prisma Studio to view database
- Fork the repository
- Create your feature branch:
git checkout -b feature/my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin feature/my-new-feature
- Submit a pull request
This project is not licensed for commercial use without explicit permission. Free to use for educational or personal projects.