@ftisindia/create-frontend
v0.2.0
Published
Scaffold an Angular frontend wired to the FTIS backend starter.
Readme
@ftisindia/create-frontend
ftis-front scaffolds a minimal Angular app wired to @ftisindia/frontend-core.
npx @ftisindia/create-frontend my-app --api-url http://localhost:3000Options:
--api-url <url>: backend API origin used by the dev proxy and production environment.--framework angular: Angular is supported in v1.--no-install: copy only.--no-git: skip git initialization.
Generated apps include login, Google OAuth exchange handling, organisation switching with a create-organisation empty state, a settings.read gated route, and npm run gen:module -- <module>.
For Google login, set the backend's AUTH_GOOGLE_SUCCESS_REDIRECT_URL to the scaffolded app's login route (for example http://localhost:4200/login); the backend default points at its own origin and the one-time ?code= never reaches the frontend.
