This project was create from the Zeal Redwood Template. Issues with the template should be directed there.
Tooling
- RedwoodJS
- TypeScript
- Prisma (ORM & Migrations)
- GraphQL
- Self Hosted Auth
- Router
- Storybook
- Testing (w/react-testing-library)
- Heroku Deployment
- Tailwind CSS
- PostgreSQL (w/ Docker)
- Playwright (End-to-End testing)
Features
- Role Based Authorization Control (RBAC)
- File Uploads
- Auth Emails
- Sign-Up Email Verification
- Administration System
# start the dev server
yarn rw dev
# first run: in a separate terminal
yarn db:setup
# start the postgres server
docker compose up <-d> <db|testdb>
# Run prisma migrations
yarn rw prisma migrate dev
# Seed data
yarn rw prisma db seed
# Run the development server
yarn rw dev
# both api and web
yarn test
# dont watch, 'CI mode'
yarn test:nowatch
# playwright end to end tests
yarn test:e2e
the config files are located in web/config/storybok* when reading the storybook docs they will reference config files not found in this project. The list below provides the interface for these. Note: these configs will override any defaults that redwood has set. You can read more here
- storybook.config.js -> main.js
- storybook.manager.js -> manager.js
- storybook.preview.js -> preview.js
# for development run without a cache
yarn rw storybook --no-manager-cache