An AI-powered system that automates payroll processing while meeting compliance rules worldwide.
Copy .env.example to .env.local and fill in the required values:
- PUBLIC_KEY / PRIVATE_KEY: TiDB credentials.
- TIDB_URL: Connection string for the TiDB database.
- NEXT_PUBLIC_API_BASE_URL: Base URL of the deployed frontend (http://localhost:3000 if running locally).
- NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY / CLERK_SECRET_KEY: Clerk authentication keys.
- DIFY_TOKEN: Token for Dify integration.
- AGENTIC_MIDDLEWARE_URL: URL of the running Agentic Payroll Middleware project.
- UPSTASH_REDIS_REST_URL / UPSTASH_REDIS_REST_TOKEN: Credentials for Upstash Redis (used for rate limiting Next.js APIs).
- POST_LIMIT: rate limit per Next.js API.
- Node.js
- pnpm
Install pnpm if you don't have it:
npm install -g pnpmInstall dependencies:
pnpm installRun the development server:
pnpm devOpen http://localhost:3000 in your browser.
MIT