├── .editorconfig ├── .github └── dependabot.yml ├── .gitignore ├── .vscode ├── extensions.json └── settings.json ├── LICENSE ├── README.md ├── api ├── commands │ ├── db-gen.ts │ ├── db-migrate.ts │ ├── db-push.ts │ ├── db-seed.ts │ ├── index.ts │ └── start.ts ├── databases │ ├── relations.ts │ ├── schema.ts │ └── schema_migrations │ │ └── 20251212044537_adorable_old_lace │ │ ├── migration.sql │ │ └── snapshot.json ├── lib │ ├── database │ │ └── cli.ts │ ├── testing │ │ └── utils.ts │ └── webhooks │ │ └── verify.ts ├── main.ts ├── middleware │ └── api-key-auth.ts ├── primitives │ ├── app-context.ts │ ├── auth.ts │ ├── cli.ts │ ├── config.ts │ ├── container.ts │ ├── database.ts │ ├── logger.ts │ ├── openapi.ts │ └── server.ts ├── routes │ └── v1+ │ │ ├── payments+ │ │ ├── $id+ │ │ │ ├── index.test.ts │ │ │ └── index.ts │ │ └── index.ts │ │ └── webhooks+ │ │ └── payments+ │ │ └── index.ts ├── services │ └── payments.ts ├── trpc │ ├── index.ts │ ├── init.ts │ ├── payments.test.ts │ └── payments.ts └── tsconfig.json ├── assets ├── components │ └── ui │ │ ├── badge.tsx │ │ ├── button.tsx │ │ ├── card.tsx │ │ ├── input.tsx │ │ └── table.tsx ├── lib │ └── utils.ts └── public │ └── images │ └── db-workflow.png ├── biome.json ├── bun.lock ├── compose.yml ├── dashboard ├── app │ ├── entry.client.tsx │ ├── lib │ │ ├── auth.ts │ │ └── trpc.tsx │ ├── root.css │ ├── root.tsx │ ├── routes.ts │ └── routes │ │ ├── _app+ │ │ ├── _layout.tsx │ │ ├── index │ │ │ └── route.tsx │ │ └── payments │ │ │ └── route.tsx │ │ ├── _auth+ │ │ └── login │ │ │ └── route.tsx │ │ └── _index.tsx ├── public │ └── icon.png ├── react-router.config.ts ├── tsconfig.json └── vite.config.ts ├── mise.toml ├── package.json └── vite.config.ts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/README.md -------------------------------------------------------------------------------- /api/commands/db-gen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/commands/db-gen.ts -------------------------------------------------------------------------------- /api/commands/db-migrate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/commands/db-migrate.ts -------------------------------------------------------------------------------- /api/commands/db-push.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/commands/db-push.ts -------------------------------------------------------------------------------- /api/commands/db-seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/commands/db-seed.ts -------------------------------------------------------------------------------- /api/commands/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/commands/index.ts -------------------------------------------------------------------------------- /api/commands/start.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/commands/start.ts -------------------------------------------------------------------------------- /api/databases/relations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/databases/relations.ts -------------------------------------------------------------------------------- /api/databases/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/databases/schema.ts -------------------------------------------------------------------------------- /api/databases/schema_migrations/20251212044537_adorable_old_lace/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/databases/schema_migrations/20251212044537_adorable_old_lace/migration.sql -------------------------------------------------------------------------------- /api/databases/schema_migrations/20251212044537_adorable_old_lace/snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/databases/schema_migrations/20251212044537_adorable_old_lace/snapshot.json -------------------------------------------------------------------------------- /api/lib/database/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/lib/database/cli.ts -------------------------------------------------------------------------------- /api/lib/testing/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/lib/testing/utils.ts -------------------------------------------------------------------------------- /api/lib/webhooks/verify.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/lib/webhooks/verify.ts -------------------------------------------------------------------------------- /api/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/main.ts -------------------------------------------------------------------------------- /api/middleware/api-key-auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/middleware/api-key-auth.ts -------------------------------------------------------------------------------- /api/primitives/app-context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/primitives/app-context.ts -------------------------------------------------------------------------------- /api/primitives/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/primitives/auth.ts -------------------------------------------------------------------------------- /api/primitives/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/primitives/cli.ts -------------------------------------------------------------------------------- /api/primitives/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/primitives/config.ts -------------------------------------------------------------------------------- /api/primitives/container.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/primitives/container.ts -------------------------------------------------------------------------------- /api/primitives/database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/primitives/database.ts -------------------------------------------------------------------------------- /api/primitives/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/primitives/logger.ts -------------------------------------------------------------------------------- /api/primitives/openapi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/primitives/openapi.ts -------------------------------------------------------------------------------- /api/primitives/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/primitives/server.ts -------------------------------------------------------------------------------- /api/routes/v1+/payments+/$id+/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/routes/v1+/payments+/$id+/index.test.ts -------------------------------------------------------------------------------- /api/routes/v1+/payments+/$id+/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/routes/v1+/payments+/$id+/index.ts -------------------------------------------------------------------------------- /api/routes/v1+/payments+/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/routes/v1+/payments+/index.ts -------------------------------------------------------------------------------- /api/routes/v1+/webhooks+/payments+/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/routes/v1+/webhooks+/payments+/index.ts -------------------------------------------------------------------------------- /api/services/payments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/services/payments.ts -------------------------------------------------------------------------------- /api/trpc/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/trpc/index.ts -------------------------------------------------------------------------------- /api/trpc/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/trpc/init.ts -------------------------------------------------------------------------------- /api/trpc/payments.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/trpc/payments.test.ts -------------------------------------------------------------------------------- /api/trpc/payments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/trpc/payments.ts -------------------------------------------------------------------------------- /api/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/api/tsconfig.json -------------------------------------------------------------------------------- /assets/components/ui/badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/assets/components/ui/badge.tsx -------------------------------------------------------------------------------- /assets/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/assets/components/ui/button.tsx -------------------------------------------------------------------------------- /assets/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/assets/components/ui/card.tsx -------------------------------------------------------------------------------- /assets/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/assets/components/ui/input.tsx -------------------------------------------------------------------------------- /assets/components/ui/table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/assets/components/ui/table.tsx -------------------------------------------------------------------------------- /assets/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/assets/lib/utils.ts -------------------------------------------------------------------------------- /assets/public/images/db-workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/assets/public/images/db-workflow.png -------------------------------------------------------------------------------- /biome.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/biome.json -------------------------------------------------------------------------------- /bun.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/bun.lock -------------------------------------------------------------------------------- /compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/compose.yml -------------------------------------------------------------------------------- /dashboard/app/entry.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/dashboard/app/entry.client.tsx -------------------------------------------------------------------------------- /dashboard/app/lib/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/dashboard/app/lib/auth.ts -------------------------------------------------------------------------------- /dashboard/app/lib/trpc.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/dashboard/app/lib/trpc.tsx -------------------------------------------------------------------------------- /dashboard/app/root.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/dashboard/app/root.css -------------------------------------------------------------------------------- /dashboard/app/root.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/dashboard/app/root.tsx -------------------------------------------------------------------------------- /dashboard/app/routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/dashboard/app/routes.ts -------------------------------------------------------------------------------- /dashboard/app/routes/_app+/_layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/dashboard/app/routes/_app+/_layout.tsx -------------------------------------------------------------------------------- /dashboard/app/routes/_app+/index/route.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/dashboard/app/routes/_app+/index/route.tsx -------------------------------------------------------------------------------- /dashboard/app/routes/_app+/payments/route.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/dashboard/app/routes/_app+/payments/route.tsx -------------------------------------------------------------------------------- /dashboard/app/routes/_auth+/login/route.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/dashboard/app/routes/_auth+/login/route.tsx -------------------------------------------------------------------------------- /dashboard/app/routes/_index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/dashboard/app/routes/_index.tsx -------------------------------------------------------------------------------- /dashboard/public/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/dashboard/public/icon.png -------------------------------------------------------------------------------- /dashboard/react-router.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/dashboard/react-router.config.ts -------------------------------------------------------------------------------- /dashboard/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/dashboard/tsconfig.json -------------------------------------------------------------------------------- /dashboard/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/dashboard/vite.config.ts -------------------------------------------------------------------------------- /mise.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/mise.toml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/package.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/autopilot-team/interview/HEAD/vite.config.ts --------------------------------------------------------------------------------