Skip to content

Repository files navigation

React Starter Files

npm install info

Everytime I created a React app, the first thing I did was setup the project by adding all the routes and pages, so that development and collaboration becomes easier, and it was a repetitive process. So I decided to simplify it.

React starter files is a command line utility that allows you to initialize your react app with your preferred components before you begin development.

rsf-demo

Install it

The utility is available as a npm package available here.

npm install -g rsf-cli

Using it

rsf <command> [--options]

init

Initialize your already created react app with pages and components.

rsf init

firebase-init

Add firebase integration to an app created using rsf init.

rsf firebase-init

create-react-app

Run create-react-app as well as rsf init in a single command

rsf create-react-app myapp

help

Get help for all your commands :)

rsf help

version

Check the current version for your rsf-cli!

rsf version

Tech Stack

Language: Javascript Tools Needed: (NodeJS)[https://nodejs.org/en/], (Yarn package manager)[https://yarnpkg.com/]

Getting started

  1. Clone the repository locally using.
  2. Run yarn install locally to install the dependencies.
  3. After that run npm install -g from the root of the repository to activate the cli in your environment
  4. Run rsf to view the different options available
$ yarn install

$ npm install -g

$ rsf

Beginner friendly

If you know NodeJs and the basics of how react works, you should be good to go!

Maintainer

Avinash V K - avinash2000vk@gmail.com

About

A cli that helps you create default react pages and components before you start implementing your project. Now implements firebase auth starter as well.

Topics

Resources

Code of conduct

Contributing

Stars

2 stars

Watchers

2 watching

Forks

Used by

Contributors

Languages