Multiple API + Multiple Apps + One Website
by CA Manas Madrecha
npm i:all
to install the dependencies for all workspacesnpm run dev:b
to start the backend API servernpm run dev:f
to start the frontend apps and websiteIndividual workspaces can be started using npm run dev:<workspace>
npm run build:all
to build all workspacesnpm run deploy:all
to deploy all workspacesb/api
to Cloudflare f/apps
to Cloudflaref/website
to Cloudflare PagesIndividual workspaces can be deployed using npm run deploy:<workspace>
b/api
directory (optional if you want to add new API endpoints)f/apps
directoryf/website/pages
directory.