Skip to content

esteban-url/trailhead-rw

Repository files navigation

Trailhead

Trailhead is a starter point for your app, based on top of Redwoodjs , it adds common functionalities so you don't have to!

  • auth, provided by netlify identity. docs
  • user management, provided via custom pages, component and services
  • Error Loggin

There are two ways to use trailhead,

Getting started the super easy way

Click here to generate a new repository from the latesr version of trailhead.

Step by step guide

If you are starting from scratch you can follow this steps:

Create the app

yarn create redwood-app app-name
cd  app-name

Setup the auth configuration

yarn rw setup auth netlify

Install got

yarn workspace api add got

Setup the deployment configuration

Using netlify

yarn rw setup deploy netlify

Components

Copy all the folders and files from web/src/components

Layouts

Copy all the folders and files from web/src/layouts

Pages

Copy all the folders and files from web/src/pages

Edit routes

This will add the pages to the router, the file is located at web/src/routes.js

Click here for the latest version

Services

Copy all the folders and files from api/src/services

SDL

Copy all the folders and files from api/src/graphql You are done! you can start the dev server now

yarn rw dev

Deploying to netlify

To deploy the app to netlify, I higly recommend configuring your site for continuous deployment by connecting your site to a git repository. click here to create a new site and follow the steps there


Redwood

WARNING: RedwoodJS software has not reached a stable version 1.0 and should not be considered suitable for production use. In the "make it work; make it right; make it fast" paradigm, Redwood is in the later stages of the "make it work" phase.

Getting Started

  • Tutorial: getting started and complete overview guide.
  • Docs: using the Redwood Router, handling assets and files, list of command-line tools, and more.
  • Redwood Community: get help, share tips and tricks, and collaborate on everything about RedwoodJS.

Setup

We use Yarn as our package manager. To get the dependencies installed, just do this in the root directory:

yarn install

Fire it up

yarn redwood dev

Your browser should open automatically to http://localhost:8910 to see the web app. Lambda functions run on http://localhost:8911 and are also proxied to http://localhost:8910/.redwood/functions/*.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages