Using Strapi for Node.js Content Management with a React SPA
Charles Ouellet Aug 9 Originally published at snipcart.com on Aug 09, 2018
A few months ago, we summoned our in-house Node.js expert to craft a piece about the state of its ecosystem.
In it, he never mentioned Strapi.js.
What a fool. 🤦♂️
Sure enough, our readers put him back on track by suggesting this powerful Node.js API framework in the comments.
Today, to prove we took this feedback to heart, I'll make good use of Strapi. I'll show you how to handle content management in Node.js with a React single-page application.
- Setting up a Node.js backend for Strapi with MongoDB.
- Creating appropriate content types in Strapi for the SPA.
- Building a React SPA (a basic online shop) with
- Bundling & deploying the Universal JS app!
So let's get philosophical a bit before jumping into technical stuff.
It all started with the MEAN stack (MongoDB/Express/Angular/Node)—the first go-to JS full stack. You can still opt for it today, but it would be a mistake to think it's the only available stack.
→ Read the full post and technical tutorial here