Skip to content

Bello project is the network that helps the community to build RedwoodJS.

Notifications You must be signed in to change notification settings

redwoodjs/bello

Repository files navigation

README

Welcome to RedwoodJS!

Prerequisites

Start by installing dependencies:

yarn install

Then change into that directory and start the development server:

cd my-redwood-project
yarn redwood dev

Your browser should automatically open to http://localhost:8910 where you'll see the Welcome Page, which links out to a ton of great resources.

The Redwood CLI

Congratulations on running your first Redwood CLI command! From dev to deploy, the CLI is with you the whole way. And there's quite a few commands at your disposal:

yarn redwood --help

For all the details, see the CLI reference.

Prisma and the database

Consider using local databases:

sudo -u postgres psql;
# In your client:
CREATE DATABASE bello;
CREATE USER bello WITH ENCRYPTED PASSWORD 'bello' createdb;
GRANT ALL PRIVILEGES ON DATABASE bello TO bello;

And now, a database dedicated to tests:

CREATE DATABASE test_bello;
CREATE USER test_bello WITH ENCRYPTED PASSWORD 'test_bello'  createdb;
GRANT ALL PRIVILEGES ON DATABASE test_bello TO test_bello;

Frontend first with Storybook

Don't know what your data models look like? That's more than ok—Redwood integrates Storybook so that you can work on design without worrying about data. Mockup, build, and verify your React components, even in complete isolation from the backend:

yarn rw storybook

Before you start, see if the CLI's setup ui command has your favorite styling library:

yarn rw setup ui --help

Testing with Jest

It'd be hard to scale from side project to startup without a few tests. Redwood fully integrates Jest with the front and the backends and makes it easy to keep your whole app covered by generating test files with all your components and services:

yarn rw test

To make the integration even more seamless, Redwood augments Jest with database scenarios and GraphQL mocking.

Ship it

Redwood is designed for both serverless deploy targets like Netlify and Vercel and serverful deploy targets like Render and AWS:

yarn rw setup deploy --help

Don't go live without auth! Lock down your front and backends with Redwood's built-in, database-backed authentication system (dbAuth), or integrate with nearly a dozen third party auth providers:

yarn rw setup auth --help

Next Steps

The best way to learn Redwood is by going through the comprehensive tutorial and joining the community (via the Discourse forum or the Discord server).

Quick Links

About

Bello project is the network that helps the community to build RedwoodJS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published