feat: initialize project with Next.js, Prisma, and Tailwind CSS

- Add package.json with dependencies and scripts for Next.js and Prisma
- Implement API routes for session management, user authentication, and company configuration
- Create database schema for Company, User, and Session models in Prisma
- Set up authentication with NextAuth and JWT
- Add password reset functionality and user registration endpoint
- Configure Tailwind CSS and PostCSS for styling
- Implement metrics and dashboard settings API endpoints
This commit is contained in:
2025-05-21 20:44:56 +02:00
commit cdaa3ea19d
36 changed files with 7662 additions and 0 deletions

19
app/layout.tsx Normal file
View File

@ -0,0 +1,19 @@
// Main app layout with basic global style
import './globals.css';
import { ReactNode } from 'react';
export const metadata = {
title: 'LiveDash-Node',
description:
'Multi-tenant dashboard system for tracking chat session metrics',
};
export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang="en">
<body className="bg-gray-100 min-h-screen font-sans">
<div className="max-w-5xl mx-auto py-8">{children}</div>
</body>
</html>
);
}