Skip to content
PCRinusPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4,493 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSM Ușor

A product concept for a multi-client SaaS operating system for Romanian external SSM services.

Start with the working product scope.

The pre-launch go-to-market validation plan defines the landing page, provider acquisition channels, and paid-validation gates.

The technical architecture records the proposed Astro/React/TypeScript monorepo, application boundaries, rendering strategy, and staged implementation path.

ADR 001 records the accepted decision to use a static Astro marketing site, a client-only React/Vite dashboard, a shared Worker API, and Cloudflare-first deployment.

ADR 002 records how transactional email is sent: an internal mail Worker with React Email templates, Resend as the provider, and a double opt-in waitlist.

The deployment guide covers the public Cloudflare marketing site, required GitHub secrets, and local Wrangler commands.

The application deployment guide covers selective, automatic API and SPA releases to api.ssmusor.ro and app.ssmusor.ro.

The CI/CD guide explains change selection, build artifacts, Turbo caching, and recovery from failed deployments.

See the mail Worker guide for email templates, the preview server, and the Resend setup.

See the API client guide for OpenAPI generation, Orval, and VITE_API_URL.

See the development admin guide for local login credentials and pnpm seed.

See local Supabase development to run Auth and Postgres with Docker, seed a local user, and connect the SPA/API without using the hosted project.

Workspace

The pnpm/Turborepo workspace contains:

  • apps/marketing — the static Astro acquisition site and landing-page concepts;
  • apps/help — the members' help site, Starlight at help.ssmusor.ro (ADR 028);
  • apps/app — the client-only React/Vite application shell;
  • apps/portal — the participants' portal, a second React/Vite SPA (guide);
  • apps/admin — the platform owner's admin area, a React/Vite SPA behind Cloudflare Access (guide);
  • apps/api — the Cloudflare Worker API;
  • apps/mail — the internal Worker that renders and sends email;
  • apps/sms — the internal Worker that sends text messages through Twilio (guide);
  • apps/pdf — the internal Worker that turns a Word file into a PDF, with its container (guide);
  • packages/contracts — runtime schemas and shared transport types.
  • packages/api-http — the fetch adapter both SPAs' generated API clients call;
  • packages/spa-runtime — the session store, auth context, captcha hook, query defaults and route-guard refresh the app, portal and admin SPAs share;
  • packages/design-tokens — shared brand colors, typography, radii, and Tailwind theme;
  • packages/help-topics — the help topics the app links to, generated from the articles (pnpm generate:help-topics);
  • packages/ui — shared shadcn React primitives and the Tailwind CSS entry point.

See shared UI and styling for component imports, Astro usage, and adding components with pnpm ui:add <component>.

See dashboard setup and authentication for Supabase browser configuration, routes, session handling, and tests.

See API setup and authentication for the Hono Worker, local Supabase bindings, bearer-token verification, and the /health and /me routes.

Use Node.js 24 or newer. The .nvmrc tracks the Node 24 major line, so with nvm run nvm use, then:

pnpm install
pnpm dev:marketing
pnpm preview:marketing

The landing page is served at http://localhost:4321/. Its copy lives in apps/marketing/src/components/site/copy.ts; the page, shared header, footer and legal-page shell are under apps/marketing/src/components/site/, with tokens in src/styles/flux.css and the layout in src/layouts/FluxLayout.astro. The terms (/termeni/) and privacy (/confidentialitate/) pages use the same shell, and the operator's details come from src/components/site/legal.ts. Fonts load from Google Fonts. Common commands:

pnpm dev
pnpm typecheck
pnpm build
pnpm lint
pnpm deploy:dry-run

The three deploy:* scripts publish the corresponding application with Wrangler after Cloudflare authentication and domain configuration are in place.

License

The source is public, but SSM Ușor is not open source. It is licensed under the PolyForm Noncommercial License 1.0.0: you may read, run, change and share it for personal, research, educational and other noncommercial purposes, but not use it in a commercial product or service. For a commercial license, write to contact@ssmusor.ro.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages