├── .dockerignore ├── .env.development ├── .env.production ├── .envrc ├── .eslintignore ├── .eslintrc ├── .github ├── dependabot.yml └── workflows │ ├── ci.yml │ └── deploy.yml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── Dockerfile ├── Dockerfile.debian ├── LICENSE ├── README.md ├── cypress.json ├── cypress ├── fixtures │ └── example.json ├── integration │ ├── coming-soon.spec.ts │ └── dashboard.spec.ts ├── plugins │ └── index.js ├── support │ └── index.ts └── tsconfig.json ├── flake.lock ├── flake.nix ├── next-env.d.ts ├── next.config.js ├── package.json ├── public ├── favicon.ico ├── landing-vector.svg ├── nav-vector.svg └── vercel.svg ├── src ├── components │ ├── Addon.tsx │ ├── App.tsx │ ├── AppCreateModal.tsx │ ├── Chakra.tsx │ ├── ColorButton.spec.tsx │ ├── ColorButton.tsx │ ├── ConfirmDelete.spec.tsx │ ├── ConfirmDelete.tsx │ ├── Domain.tsx │ ├── KVEntry.tsx │ ├── Logs.tsx │ ├── Stat.tsx │ ├── TeamCreateModal.tsx │ ├── Toast.tsx │ └── forms │ │ ├── team-create.tsx │ │ └── team-join.tsx ├── layouts │ ├── AppLayout.tsx │ ├── DashboardLayout.tsx │ ├── HaasLayout.tsx │ └── TeamLayout.tsx ├── lib │ ├── dummyData.ts │ ├── failBuildEventLogs.json │ ├── fetch.ts │ ├── successBuildEventLogs.json │ ├── testHelpers.tsx │ └── withAuth.ts ├── pages │ ├── 404.tsx │ ├── _app.tsx │ ├── _error.tsx │ ├── apps │ │ └── [id] │ │ │ ├── addons.tsx │ │ │ ├── deploy.tsx │ │ │ ├── domains.tsx │ │ │ ├── environment.tsx │ │ │ └── index.tsx │ ├── auth │ │ └── device.tsx │ ├── beep.tsx │ ├── builds │ │ └── [id].tsx │ ├── dashboard.tsx │ ├── index.tsx │ ├── landing.tsx │ ├── settings.tsx │ └── teams │ │ └── [id] │ │ ├── index.tsx │ │ ├── settings.tsx │ │ └── users.tsx ├── styles │ ├── globals.css │ └── nprogress.css ├── theme.ts └── types │ ├── build.ts │ ├── glyph.ts │ └── haas.ts ├── tsconfig.json └── yarn.lock /.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .next/ 3 | -------------------------------------------------------------------------------- /.env.development: -------------------------------------------------------------------------------- 1 | NEXT_PUBLIC_API_BASE=http://localhost:3000/api 2 | -------------------------------------------------------------------------------- /.env.production: -------------------------------------------------------------------------------- 1 | NEXT_PUBLIC_API_BASE=https://haas.hackclub.com/api 2 | NO_PROXY=true 3 | -------------------------------------------------------------------------------- /.envrc: -------------------------------------------------------------------------------- 1 | use flake 2 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | .next/ 2 | out/ 3 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "useTabs": true 3 | } 4 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/Dockerfile -------------------------------------------------------------------------------- /Dockerfile.debian: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/Dockerfile.debian -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/README.md -------------------------------------------------------------------------------- /cypress.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/cypress.json -------------------------------------------------------------------------------- /cypress/fixtures/example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/cypress/fixtures/example.json -------------------------------------------------------------------------------- /cypress/integration/coming-soon.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/cypress/integration/coming-soon.spec.ts -------------------------------------------------------------------------------- /cypress/integration/dashboard.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/cypress/integration/dashboard.spec.ts -------------------------------------------------------------------------------- /cypress/plugins/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/cypress/plugins/index.js -------------------------------------------------------------------------------- /cypress/support/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/cypress/support/index.ts -------------------------------------------------------------------------------- /cypress/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/cypress/tsconfig.json -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/flake.nix -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/landing-vector.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/public/landing-vector.svg -------------------------------------------------------------------------------- /public/nav-vector.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/public/nav-vector.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/components/Addon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/components/Addon.tsx -------------------------------------------------------------------------------- /src/components/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/components/App.tsx -------------------------------------------------------------------------------- /src/components/AppCreateModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/components/AppCreateModal.tsx -------------------------------------------------------------------------------- /src/components/Chakra.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/components/Chakra.tsx -------------------------------------------------------------------------------- /src/components/ColorButton.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/components/ColorButton.spec.tsx -------------------------------------------------------------------------------- /src/components/ColorButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/components/ColorButton.tsx -------------------------------------------------------------------------------- /src/components/ConfirmDelete.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/components/ConfirmDelete.spec.tsx -------------------------------------------------------------------------------- /src/components/ConfirmDelete.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/components/ConfirmDelete.tsx -------------------------------------------------------------------------------- /src/components/Domain.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/components/Domain.tsx -------------------------------------------------------------------------------- /src/components/KVEntry.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/components/KVEntry.tsx -------------------------------------------------------------------------------- /src/components/Logs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/components/Logs.tsx -------------------------------------------------------------------------------- /src/components/Stat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/components/Stat.tsx -------------------------------------------------------------------------------- /src/components/TeamCreateModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/components/TeamCreateModal.tsx -------------------------------------------------------------------------------- /src/components/Toast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/components/Toast.tsx -------------------------------------------------------------------------------- /src/components/forms/team-create.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/components/forms/team-create.tsx -------------------------------------------------------------------------------- /src/components/forms/team-join.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/components/forms/team-join.tsx -------------------------------------------------------------------------------- /src/layouts/AppLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/layouts/AppLayout.tsx -------------------------------------------------------------------------------- /src/layouts/DashboardLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/layouts/DashboardLayout.tsx -------------------------------------------------------------------------------- /src/layouts/HaasLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/layouts/HaasLayout.tsx -------------------------------------------------------------------------------- /src/layouts/TeamLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/layouts/TeamLayout.tsx -------------------------------------------------------------------------------- /src/lib/dummyData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/lib/dummyData.ts -------------------------------------------------------------------------------- /src/lib/failBuildEventLogs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/lib/failBuildEventLogs.json -------------------------------------------------------------------------------- /src/lib/fetch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/lib/fetch.ts -------------------------------------------------------------------------------- /src/lib/successBuildEventLogs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/lib/successBuildEventLogs.json -------------------------------------------------------------------------------- /src/lib/testHelpers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/lib/testHelpers.tsx -------------------------------------------------------------------------------- /src/lib/withAuth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/lib/withAuth.ts -------------------------------------------------------------------------------- /src/pages/404.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/404.tsx -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/_error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/_error.tsx -------------------------------------------------------------------------------- /src/pages/apps/[id]/addons.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/apps/[id]/addons.tsx -------------------------------------------------------------------------------- /src/pages/apps/[id]/deploy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/apps/[id]/deploy.tsx -------------------------------------------------------------------------------- /src/pages/apps/[id]/domains.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/apps/[id]/domains.tsx -------------------------------------------------------------------------------- /src/pages/apps/[id]/environment.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/apps/[id]/environment.tsx -------------------------------------------------------------------------------- /src/pages/apps/[id]/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/apps/[id]/index.tsx -------------------------------------------------------------------------------- /src/pages/auth/device.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/auth/device.tsx -------------------------------------------------------------------------------- /src/pages/beep.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/beep.tsx -------------------------------------------------------------------------------- /src/pages/builds/[id].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/builds/[id].tsx -------------------------------------------------------------------------------- /src/pages/dashboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/dashboard.tsx -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/pages/landing.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/landing.tsx -------------------------------------------------------------------------------- /src/pages/settings.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/settings.tsx -------------------------------------------------------------------------------- /src/pages/teams/[id]/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/teams/[id]/index.tsx -------------------------------------------------------------------------------- /src/pages/teams/[id]/settings.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/teams/[id]/settings.tsx -------------------------------------------------------------------------------- /src/pages/teams/[id]/users.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/pages/teams/[id]/users.tsx -------------------------------------------------------------------------------- /src/styles/globals.css: -------------------------------------------------------------------------------- 1 | @import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono&display=swap"); 2 | -------------------------------------------------------------------------------- /src/styles/nprogress.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/styles/nprogress.css -------------------------------------------------------------------------------- /src/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/theme.ts -------------------------------------------------------------------------------- /src/types/build.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/types/build.ts -------------------------------------------------------------------------------- /src/types/glyph.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/types/glyph.ts -------------------------------------------------------------------------------- /src/types/haas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/src/types/haas.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hack-as-a-service/frontend/HEAD/yarn.lock --------------------------------------------------------------------------------