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 subdomain multi-tenancy based Zapal websites@zapal/shared
: an internal shared library for shared code between apps/packages in this repo@zapal/svelte-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 build
To develop all apps and packages, run the following command:
cd zapal
sudo sh ./scripts/set-hosts.sh
Then, open the repository in your favorite code editor using devcontainer, and run the following command:
pnpm dev
Use the following URLs to access the apps:
http://{www,tech,design,blog,estimate}.zapal.local:3000
for theweb
apphttp://cms.zapal.local:3001
for thecms
app