2025-11-04 11:22:50 -08:00
2026-05-16 19:16:48 -07:00
2026-03-24 21:36:22 -07:00
2026-05-16 19:16:48 -07:00
2025-11-04 11:22:50 -08:00
2025-11-09 11:07:20 -08:00
2026-05-16 19:16:48 -07:00
2025-11-04 11:22:50 -08:00
2025-11-04 11:22:50 -08:00
2025-11-04 11:22:50 -08:00

Coop Cloud Front

Frontend for Coop Cloud — a web UI wrapper around the abra CLI for managing VPSs, containers and application deployments.

This repository contains a Vite + React + TypeScript app styled with SCSS.

Quick start

  • Install dependencies (pnpm is recommended):

pnpm install pnpm dev


The app uses Vite; start the dev server with `pnpm dev`.

## Environment

- The app reads runtime flags from Vite env variables. The default build uses mocked api data.
-To deploy on a real API without mocking, run:
pnpm start:prod

Modify `.env` file at the project root if you need to override values for
development (see Vite docs for env var conventions).

## Scripts

- `pnpm dev` — start dev server
- `pnpm build` — run TypeScript and build production assets
- `pnpm preview` — preview production build locally
- `pnpm lint` — run ESLint
- `pnpm lint:scss` — run Stylelint
- `pnpm format` — format with Prettier

## Notes about local development

- The repo contains mock JSON and a `mockApi` service to develop UI without
	a backend. Toggle mock mode with `VITE_MOCK_AUTH=true`.
- Routes are client-side using `react-router-dom`.

## Next steps / suggested work items

- Add form validation and better UX for `RecipeForm`.
- Improve accessibility.
- Add unit tests.
- Improve responsive layouts and card grid behaviour on narrow screens.
- Add deployment docs and production environment variables.

---
Description
Frontend for a Coop Clouds Abra wrapper
Readme 1,010 KiB
Languages
TypeScript 60.6%
SCSS 37.7%
JavaScript 1.1%
HTML 0.6%