This is an official Zapal company internal open source libraries and apps.
This repo includes the following packages/apps:
cms: a Payload CMS based application for managing content for our websites using multi-tenancyweb: a SvelteKit based application for a single team usage with advanced multi-tenant (subdomain and URL slug) based routing support Zapal websites. P.S.: Read more bellow, it's a complex one@zapal/shared: an internal shared library for shared code between apps/packages in this repo@zapal/ui: a Svelte component library used for Zapal consistent UI on all our websites
Each package/app is 100% TypeScript.
To build all apps and packages, run the following command:
cd zapal
pnpm buildTo develop all apps and packages, run the following command:
cd zapal
sudo sh ./scripts/set-hosts.shThen, open the repository in your favorite code editor using devcontainer, and run the following command:
pnpm devUse the following URLs to access the apps:
https://{www,tech,design,blog,estimate}.zapal.localfor thewebapphttps://cms.zapal.localfor thecmsapp