/example-todo

Example Todo app written with Redwood

Primary LanguageJavaScript

Todo

This is an example Redwood app, implementing a very minimal todo application. Features you can see in action here:

  • Redwood Cells (see TodoListCell.js).
  • Optimistic GraphQL response with Apollo (see AddTodo.js).
  • SVG loader (see Check.js)
  • StyledComponents usage (and stylistic approach)

Getting Started

Setup

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

yarn

Set up the database and generate the database client:

yarn redwood prisma migrate dev

Fire it up

yarn redwood dev

Browse to http://localhost:8910 (or run yarn redwood open) to see the web app.

Lambda functions run on localhost:8911 but are proxied via localhost:8910/api/functions/*.