Shu Uesugi, Product engineer at Vercel, joined me (Maxime Castres, Growth Hacker at Strapi) for a virtual meetup last week. We spent an hour discussing modern internet infrastructure and the efficiency of working with the JAMstack.
Then we put those ideas to the test, combining the power of Strapi and Next.js to build a blog and deploy it on Heroku (for Strapi) and Vercel (for Next.js).
Before jumping further into what happened, let's take a look of some of the basic data.
If you missed the webinar, well you’re in luck! We have a video of the event for anyone who wants to watch the full meetup:
If you like the sound of deploying your own blog like Maxime and Shu did during the Webinar, follow the steps below!
Deploy the Backend
To deploy the Strapi instance you'll need:
Once created, you can deploy your instance by clicking on this button:
Deploy the Frontend
npm i -g now
API_URL
with now by running the following command:
now secret add api-url <https://your-strapi-instance.herokuapp.com>
After that you're ready to deploy your app! There are two options for how exactly you want to complete the process. Either will work fine and all you need to do is press enter when asked for the root directory of your code.
I always enjoy meeting up with the Strapi community, and was especially delighted to spend time with Shu.
Having a conversation with a partner who shares a similar vision on the how web development should be fun is always a recipe for a great time.
I'll be sure to join the community again soon for another virtual meetup, so keep your eyes out and remember to register!
If you enjoyed learning about how Strapi and Vercel can be used to create a blog, Tweet about it!
Please note: Since we initially published this blog post, we released new versions of Strapi and tutorials may be outdated. Sorry for the inconvenience if it's the case. Please help us by reporting it here.
Maxime started to code in 2015 and quickly joined the Growth team of Strapi. He particularly likes to create useful content for the awesome Strapi community. Send him a meme on Twitter to make his day: @MaxCastres