An AI-powered payroll processing system that automates timesheet data extraction and pay calculations.
- Upload timesheet photos
- AI-powered OCR for data extraction
- Automatic pay calculation
- Employee management
- Secure authentication
- File storage
- Review and approval workflow
- Frontend: Next.js, Tailwind CSS, Shadcn UI
- Backend: Next.js Server Actions, Drizzle ORM
- Database: PostgreSQL
- Authentication: Clerk
- Storage: Supabase Storage
- AI/OCR: Azure Computer Vision
-
Clone the repository
-
Install dependencies:
npm install
-
Copy
.env.exampleto.env.localand fill in the environment variables:- Database connection
- Clerk authentication keys
- Supabase credentials
- Azure Computer Vision credentials
-
Set up the database:
npm run db:push
-
Run the development server:
npm run dev
DATABASE_URL: PostgreSQL connection stringNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: Clerk public keyCLERK_SECRET_KEY: Clerk secret keyNEXT_PUBLIC_SUPABASE_URL: Supabase project URLNEXT_PUBLIC_SUPABASE_ANON_KEY: Supabase anonymous keySUPABASE_SERVICE_ROLE_KEY: Supabase service role keyAZURE_COMPUTER_VISION_ENDPOINT: Azure Computer Vision endpointAZURE_COMPUTER_VISION_KEY: Azure Computer Vision API key
actions/- Server actions for data operationsapp/- Next.js app router pages and componentscomponents/- Reusable UI componentsdb/- Database schema and configurationlib/- Utility functions and hookspublic/- Static assetstypes/- TypeScript type definitions
- Create a new branch for your feature
- Make your changes
- Run tests and linting
- Submit a pull request
MIT