Giter Club home page Giter Club logo

Comments (10)

pierreburgy avatar pierreburgy commented on July 21, 2024 5

A Next article will be published in the next few weeks :)

Your articles are still welcomed.

from strapi-examples.

ryanbelke avatar ryanbelke commented on July 21, 2024 1

@Gillinghammer I re-created Pierre's Nuxt + Strapi tutorial in NextJs and the source repo can be viewed here: https://github.com/ryanbelke/strapi-next

There is a tutorial folder in that repo that has setup instructions and some main points to get started.

I am working on the final writeup now and will be ready to post in the next couple of days. Let me know if you have any questions.Once the writeup is finished I will re-post here as well

from strapi-examples.

pierreburgy avatar pierreburgy commented on July 21, 2024

Good idea @decimoseptimo!

Would you like to write it (even if it is much shorter that the Nuxt tutorial)?

from strapi-examples.

decimoseptimo avatar decimoseptimo commented on July 21, 2024

In fact I just started exploring the possibilty to use next.js with strapi so I'm currently consuming the content I can find in this regard. I just don't have the expertise at the moment.

I did the same in a past project, I explored the possibilty to use gatsby and strapi for the first time. For that you had an official tutorial which was one of the keys for me to get in.

from strapi-examples.

PDS42 avatar PDS42 commented on July 21, 2024

@decimoseptimo were you able to find good resources to use strapi with next? If so, please share them! :)

from strapi-examples.

NickBolles avatar NickBolles commented on July 21, 2024

Also interested in using next with strapi.

Next-auth has some good examples, and really is just a wrapper for express.js and passport authentication, but it adds client and server side methods that make sign-in easy.

It sounds like it's at least possible. So I think I'm going to prototype something in the coming weeks maybe we can go from there?

Let me know if anyone has any tips or tricks to help me get started.

from strapi-examples.

ryanbelke avatar ryanbelke commented on July 21, 2024

Following, looking into next.js and strapi also

from strapi-examples.

Gillinghammer avatar Gillinghammer commented on July 21, 2024

Just coming across this page in my search for a next + strapi tutorial.

+1 for that - wondering if @pierreburgy has an update?

from strapi-examples.

NickBolles avatar NickBolles commented on July 21, 2024

I also have a next-middleware that I developed locally. It makes setting up next as simple as strapi new app, make a pages directory, and run strapi with strapi start

The middleware delegates everything to strapi, and if the request is still 404, passes it to next to handle. This is different than your example, and many of the other custom server examples that I've seen.

But, my solution doesn't allow for extra custom routes like some of those solutions. But we could work on implementing that. This is my first strapi plugin. So please check it out and give me feedback on the PR!

Checkout the PR here: strapi/strapi#2125

from strapi-examples.

NickBolles avatar NickBolles commented on July 21, 2024

There is now a tutorial here: https://blog.strapi.io/strapi-next-setup/

from strapi-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.