strapi / community-content

Contribute and collaborate on educational content for the Strapi Community
https://strapi.io/write-for-the-community
571 stars 400 forks source link

[TOPIC] How to create an application using Strapi and Svelte (Sapper) #23

Closed Mcastres closed 4 years ago

Mcastres commented 4 years ago

My Request There is no tutorials on how to create an application with Svelte (Sapper) and Strapi so why not be the first one to provide one for the community!

Preferred Format

Community vote 👍 Upvote if you need it too 🚀 If you can make the tutorial

malgamves commented 4 years ago

Hey, I was doing research for my article on static sites and Sapper looked so interesting I actually ended up building something similar. I could take this.

Mcastres commented 4 years ago

Well it seems that @Alameen688 reacted with the Rocket emoji which means that maybe he's working on it. I'll ask him right now but if he doesn't, it's yours :)

malgamves commented 4 years ago

Sure, let me know what they say

jarmitage commented 4 years ago

Just posting this here for reference:

Mcastres commented 4 years ago

Thank you @jarmitage, I really appreciate!

I landed on this Starter yesterday and started a conversation with Heithem. As the starter is not totally complete like the other ones (Gatsby, Next.js etc..) I'm therefore planning to finish it with him and making it an official starter in the Strapi organization.

What's awesome here is that @malgamves also built one using Sapper which means 2 starters are coming soon ;)

tidiview commented 4 years ago

Hey @Mcastres, @jarmitage jarmitage. Seen the work of heithemmouni: looks great ☆ Just a question: what do you think of the choice of Apollo and GraphQL? What about Sapper and groq?

malgamves commented 4 years ago

Hey, I'm done with writing this!

This is the project repo

I'll be sharing the blog post soon

malgamves commented 4 years ago

For anyone following, the post was published on Smashing Mag

AnandChowdhary commented 4 years ago

We took a different approach where we downloaded all content from Strapi on build-time: https://koj.co/en-ch/blog/creating-a-sapper-blog-using-strapi/.

malgamves commented 4 years ago

This is really cool @AnandChowdhary you should add this to our showcase

Is your whole site powered by Strapi or just your blog?

AnandChowdhary commented 4 years ago

This is really cool @AnandChowdhary you should add this to our showcase

Thanks for the tip! I've added it here: https://github.com/strapi/community-content/pull/216

Is your whole site powered by Strapi or just your blog?

All our "content" pages are powered by Strapi, such as our blog (https://koj.co/en-ch/blog/), careers (https://koj.co/en-ch/careers/), and support (https://koj.co/en-ch/support/) sections. The "app" parts are written in Svelte.

malgamves commented 4 years ago

That's pretty sweet! Thanks for that 🎊

robots4life commented 4 years ago

https://svelte-ecommerce.netlify.app/ is a Svelte e-commerce app with a Strapi backend, the tut and code to it is the 2nd project in this course https://www.udemy.com/course/svelte-tutorial-and-projects-course/ that I like quite a bit.

Got the course some time ago and by chance I found out just now that the e-commerce app is built on a Strapi backend and quite thoroughly explained. Can only recommend it. :+1: