Front end of the Tacocat photo gallery website using the Sveltekit application framework.
Clone this project, cd into its directory, install dependencies with npm install.
npm run dev # Start dev server. It has a proxy API to the staging backend, so you'll get the staging gallery, photos, search
npm run quality # Format, lint, and type check
npm test # Run unit tests
npm run test:unit # Run unit tests (verbose)
npm run test:e2e # Run end-to-end integration tests
Commit runs a bunch of checks: secret scanning, lint, unit tests.
To commit to main, you must submit a PR.
When a PR is merged into main, the CI/CD system (GitHub Actions) automatically runs tests and deploys to staging. This overwrites anything you deployed to it manually (see below).
Staging: https://staging-pix.tacocat.com/
Committing to main deploys to staging (described above). You can also do it manually, if you want to try things before committing:
npm run build # Create production assets
npm run deploy-staging # Deploy to https://staging-pix.tacocat.com/
Production: https://pix.tacocat.com/
To deploy: