Skip to content

Instantly share code, notes, and snippets.

@betocmn
Created September 12, 2020 07:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save betocmn/bb74f5a9a0a8c67f76928032f26589bd to your computer and use it in GitHub Desktop.
Save betocmn/bb74f5a9a0a8c67f76928032f26589bd to your computer and use it in GitHub Desktop.
# Create a cell for Users
$ yarn rw generate cell Users
# Create a layout named Admin
$ yarn rw generate layout Admin
# Create an About page and set the URL to /about
$ yarn rw generate page About /about
# Read the DB schema and create the SDL file for the User table
$ yarn rw generate sdl User
# Create api/src/services/email/email.js and include CRUD functions
$ yarn rw generate service Email --crud
# Create the SDL, service, cells, pages and components to CRUD a User
$ yarn rw generate scaffold User
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment