supabase-graphql-example icon indicating copy to clipboard operation
supabase-graphql-example copied to clipboard

Adding SvelteKit Example

Open jycouet opened this issue 2 years ago • 4 comments

Features

  • [x] Feed
  • [x] Newest
  • [x] Comments
    • [ ] Adding a comment
  • [x] Submit
  • [x] About
  • [x] Login
  • [x] Logout
  • [x] Account
  • [x] Post Detail
  • [x] Votes UP & DOWN
  • [x] Profile Detail
  • [ ] Sign In
  • [ ] Forgot password

Technically (KitQL)

  • [x] SSR (out of the box)
  • [x] Infinite scroll
  • [x] Partial data on navigate to the detail
  • [ ] Optimistic UI

FYI starting building

  • my own supabase auth
  • my own supabase UI

Open questions

  • Should we have something on the UI to know that we are on nextjs or sveltekit (Small? on the side?)
  • Where should we deploy?
  • It's not finished yet, but maybe easier to continue depending on your remarques.

🚀 🚀 🚀

jycouet avatar Mar 31 '22 22:03 jycouet

@jycouet is attempting to deploy a commit to the Supabase Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Mar 31 '22 22:03 vercel[bot]

I would probably need @n1ru4l to check if nextjs is still working well. ✅

jycouet avatar Mar 31 '22 22:03 jycouet

@jycouet

Should we have something on the UI to know that we are on nextjs or sveltekit (Small? on the side?)

Ideas:

  1. Include a note about the framework used on the About page, and highlight some benefits, features of each2.
  2. Icon and link in Footer3.

Where should we deploy?

  1. Ideally to Vercel, but likely need to deploy each separately. I'm not as familiar with Vercel as Netlify.

With Netlify one can: https://docs.netlify.com/configure-builds/monorepos/#build-multiple-sites-from-a-monorepo

build and deploy more than one site from a single monorepo

I imagine Vercel can do this as well as seen in: https://vercel.com/docs/concepts/git/monorepos

I do not have Vercel deploy permissions, so will want to get @thorwebdev involved once ready.

dthyresson avatar Apr 14 '22 15:04 dthyresson

I would probably need @n1ru4l to check if nextjs is still working well. ✅

@jycouet I had @olirice upgrade the project to the latest pg_graphql and the nextjs is back working again.

However, see: https://github.com/supabase-community/supabase-graphql-example/issues/21

As we'll want to migrate the project to a new one so that it receives latest pg_graphql updates in the future.

dthyresson avatar Apr 14 '22 15:04 dthyresson