A comprehensive accounting system built with Next.js 14, TypeScript, and Prisma.
Create a .env.local
file with the following variables:
# NextAuth Configuration
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your-secret-here
# Database
DATABASE_URL=postgresql://username:password@localhost:5432/accounting_db
- Push your code to GitHub
- Import project to Vercel
- Add the following environment variables in Vercel dashboard:
NEXTAUTH_URL
- Set to your Vercel deployment URL (e.g., https://your-app.vercel.app)NEXTAUTH_SECRET
- Generate a secure secret using:openssl rand -base64 32
DATABASE_URL
- Your production database connection string
To generate a secure secret for production:
openssl rand -base64 32
Or use this Node.js command:
node -e "console.log(require('crypto').randomBytes(32).toString('base64'))"
- User authentication with role-based access control
- Customer management
- Invoice creation and management
- Payment tracking
- Financial reporting
- User profile management
- Granular permissions system
- Next.js 14
- TypeScript
- Prisma ORM
- PostgreSQL
- NextAuth.js
- Tailwind CSS