Redwood.js is a full-stack JavaScript/TypeScript framework designed for building modern web applications with React on the frontend and GraphQL APIs on the backend. It’s heavily inspired by Ruby on Rails, aiming to bring the same productivity and developer happiness to the JavaScript ecosystem.
If you’ve been looking for a framework that ties together frontend, backend, and database into one cohesive experience, Redwood.js might be the perfect choice.
Here’s how you can set up a Redwood.js project from scratch,
1. Install Node.js
Make sure you have Node.js (v16 or higher) installed.
1
node -v
If not installed, download Node.js.
2. Install Yarn (Required)
Redwood.js uses Yarn as its package manager.
1
npm install --global yarn
3. Create a New Redwood App
Use Yarn to create your Redwood project:
1
yarn create redwood-app my-redwood-app
This will scaffold a full-stack app with React + GraphQL + Prisma.
4. Navigate to Your App
1
cd my-redwood-app
5. Start the Development Server
1
yarn rw dev
Your Redwood app will now be running at http://localhost:8910.
Yes, but beginners might need some time to learn GraphQL and Prisma.
No, Redwood is deeply integrated with GraphQL.
Yes, but keep in mind it’s still evolving. Best suited for startups and MVPs.
Thanks to Prisma, it supports PostgreSQL, MySQL, SQLite, and more.
Next.js is mainly frontend (with backend APIs optional), while Redwood is a full-stack framework out of the box.
Redwood.js is an ambitious and exciting full-stack JavaScript framework. With React, GraphQL, Prisma, and serverless-first deployment, it gives developers the power to build scalable apps faster.
If you’re looking for a Rails-like developer experience in the JavaScript world, Redwood.js is definitely worth a try.