Socket
Socket
Sign inDemoInstall

@flightpkg/create-redwood-app

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flightpkg/create-redwood-app

This package creates and installs a Redwood project, which is the entry point for anyone using Redwood. It has two parts: - The installation script `create-redwood-app.js` - Project template code in the `template/` directory


Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

RedwoodJS


The App Framework for Startups

Ship today with architecture for tomorrow.

Redwood is an opinionated, edge-ready framework for modern multi-client applications, built on React, GraphQL, and Prisma with full TypeScript support and ready to go with zero config.

Want great developer experience and easy scaling? How about an integrated front- and back-end test suite, boilerplate code generators, component design, logging, API security + auth, and serverless or traditional deploy support? Redwood is here! Redwood works with the components and development workflow you love but with simple conventions and helpers to make your experience even better.


Quick Start

Redwood requires Node.js >=14.x <=16.x and Yarn v1.15 (or newer).

yarn create redwood-app redwood-project
cd redwood-project
yarn redwood dev

Resources


Contributing to create-redwood-app

Contributors are Welcome! Get started here. And don't hesitate to ask for help on the forums and chat

Table of Contents

Description

This package creates and installs a Redwood project, which is the entry point for anyone using Redwood. It has two parts:

  • The installation script create-redwood-app.js
  • Project template code in the template/ directory

For information about contributing to the Redwood Framework in general, please start here.

Package Leads

Roadmap

v1 Priorities:

  • convert template/ codebase to TypeScript
  • add option to install as either TypeScript or JavaScript project (defaults to TypeScript)
  • add package tests, which may be accomplished by including in Cypress E2E CI

Local Development

Installation Script

The installation script is built with Yargs

Template Codebase

The project codebase in template/ uses Yarn Workspace v1 for a monorepo project containing the API and Web Sides. Redwood packages are included in template/package.json, template/web/package.json, and template/api/package.json, respectively.

How to run create-redwood-app and create a project

Make sure you to first run yarn install in your project root.

Step into the create-redwood-app package and run the script:

cd packages/create-redwood-app
yarn babel-node src/create-redwood-app.js /path/to/new/redwood-app

This will create a new project using the local template/ codebase

Note: the new project will install with the most recent stable Redwood package version by default

Develop using the new project

There are three options for developing with the installed project:

1. Upgrade the project to use the latest canary release

cd /path/to/new/redwood-app
yarn rw upgrade -t canary

2. Install packages specific to a PR, for example

cd /path/to/new/redwood-app
yarn rw upgrade --pr 1703:0.23.0-b06dd35

3. Use the workflow and tools for local package development

FAQs

Package last updated on 21 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc