Skip to content

thedavidprice/redwood-tutorial-test

Repository files navigation

Redwood Tutorial Testing Repo

Final state of Tutorial code running on latest release version. This is where the testing happens.

Deployed on Netlify

https://redwoodjs-tutorial-test.netlify.app

Deployed on Vercel

https://redwood-tutorial-test.vercel.app/

Deployed on Render

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 rw 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/.netlify/functions/*.

Development

Database

We're using Prisma2, a modern DB toolkit to query, migrate and model your database.

To create a development database, you will need to create a .env file and include a PostgreSQL environment variable like the DATABASE_URL specified in .env.defaults, see either:

  • This link for instructions on quickly setting up a database on Railway.
  • This link for setting up PostgreSQL locally.

After doing that, run the following command:

yarn rw prisma migrate dev

This will read the schema definition in api/db/schema.prisma.