RedwoodJS

Creating new redwood application:

Run redwood server:


Routes

Create new route:

Linking to routes:

import { Link, routes } from "@redwoodjs/router"

const HomePage = () => {
    return (
        <div>
            <Link to={routes.home()}>Home</Link>
        </div>
    )
}

Layout

Generate new layout:


Database

Create db models @ schema.prisma

Migrate database:

Upgrade db:

Create a CRUD scaffold of db:


Working with db

Cells - features that are most common in most web apps.