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 serverpnpm build— run TypeScript and build production assetspnpm preview— preview production build locallypnpm lint— run ESLintpnpm lint:scss— run Stylelintpnpm format— format with Prettier
Notes about local development
- The repo contains mock JSON and a
mockApiservice to develop UI without a backend. Toggle mock mode withVITE_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
Languages
TypeScript
60.6%
SCSS
37.7%
JavaScript
1.1%
HTML
0.6%