A web application for managing and tracking insurance claims.
This dashboard helps manage insurance claims by providing:
- A dashboard with key metrics and statistics
- A table to view and filter all claims
- User authentication to secure access
- Real-time data updates
The application is built with Next.js and uses:
- PostgreSQL database to store claims data
- Prisma to interact with the database
- NextAuth for user login and authentication
- Tailwind CSS for styling
- Install dependencies:
npm install- Set up your database connection in
.env:
DATABASE_URL="your-database-url"
NEXTAUTH_SECRET="your-secret"
NEXTAUTH_URL="http://localhost:3000"
- Run database migrations:
npm run db:migrate- Seed the database with sample data:
npm run db:seed- Start the development server:
npm run dev- Open http://localhost:3000 in your browser