primocms / primo

Primo is a visual CMS with a built-in code editor, Svelte blocks, and static site generator.
https://primocms.org
MIT License
1.92k stars 474 forks source link

Provide primocms API #360

Closed prononext closed 6 months ago

prononext commented 7 months ago

Having a REST API for primocms would be mega.

Being able to:

GET, PATCH and POST

mateomorris commented 7 months ago

Have you considered using the Supabase JS API to interact with your site?

prononext commented 7 months ago

I am trying to do a reserach on it. What functions did you achive using it?

mateomorris commented 6 months ago

You can query your database using it - https://supabase.com/docs/reference/javascript/select

mateomorris commented 6 months ago

Closing for now - can revisit later if it becomes helpful to have a dedicated API instead of using Supabase JS