Files
supabase/apps/cms
Ivan Vasilov 56d40fe0b2 chore: Migrate eslint for all apps to use flat config (#39486)
* Use the "eslint" command instead of built-in next lint since it's getting obsolete.

* Bump all deps to support eslint 9+.

* Convert the rules in eslint-config-supabase to be flat-config compatible.

* Migrate all apps to use the new eslint config rules.

* Fix all errors found in the new setup.

* Fix the no default exports ignores.

* Scan all files for linting in studio.

* Fix all lint errors.

* Make the reportUnusedDisableDirectives a warning.
2025-10-15 16:35:24 +02:00
..
2025-08-11 17:44:38 +02:00
2025-09-16 13:03:13 +02:00
2025-09-03 14:49:28 +02:00
2025-09-03 14:49:28 +02:00
2025-08-11 17:44:38 +02:00
2025-08-11 17:44:38 +02:00
2025-06-03 14:26:43 +03:00
2025-06-03 14:26:43 +03:00
2025-06-03 14:26:43 +03:00
2025-08-11 17:44:38 +02:00
2025-09-03 14:49:28 +02:00

Payload CMS

Local Development

  1. run cd apps/cms && supabase start to start the local supabase project
  2. run cp .env.example .env to copy the example environment variables and update the variables. You'll need to add the S3_ variables to your .env to use Supabase Storage
  3. pnpm install && pnpm generate:importmap to install dependencies and start the dev server
  4. run pnpm dev in the apps/cms folder or pnpm dev:cms from the root
  5. open http://localhost:3030 to open the app in your browser

Follow the on-screen instructions to login and create the first admin user.

Collections

Collections are what data looks like in the Payload cms schema. The following are the collections currently configured in the app.

  • Authors
  • Categories
  • Events
  • Media
  • Posts
  • Tags
  • Users