Skip to content

This is a npm package which works as a backbone of the application. This makes the application management more controlled. more controlled.

License

Notifications You must be signed in to change notification settings

reactplay/create-react-play

Folders and files

NameName
Last commit message
Last commit date
Aug 7, 2022
Aug 23, 2022
Jul 11, 2022
Jul 18, 2023
Jul 18, 2022
Jun 22, 2022
Aug 6, 2022
Jun 21, 2022
Jun 21, 2022
Jun 19, 2022
Jun 19, 2022
Jun 19, 2022
Nov 26, 2022
Dec 13, 2023

Repository files navigation

Create React Play

Welcome to reactplay.io ecosystem

A package to generate boilerplate files for creating a play withing your local system. Another idea of this package to create a backbone structure for running all sort of maintenance and house keeping task.

Node.js Package

Command Line Options

Here are few options

  • -h/help: Show all available arguments and flags
  • -c/create: Creates a play boilerplate within local directory structure
  • -u/update: Update an exsiting play
  • -p/prepare: Prepre an environment for build/run

How it works

Example: Create a play

  1. Fork reactplay

  2. Clone your branch

  3. Install packages using

    yarn
    #or
    npm install
  4. run reactplay application using

    yarn start
    #or
    npm start
  5. Hit "Create" button on web portal

  6. Provide necessary information

  7. Submit your play request

  8. It will generate an unique id for you

  9. Navigate to root directory of your local reactplay repo and run

    npx create-react-play -c <the_unique_id>

    This will create necessary resources and link them together.

    Note: If the play folder <reactplay_directory>/plays/<your_play_name> remain empty after running above command that means you might be in some older version of the package. Use @latest in that case

    npx create-react-play@latest -c <the_unique_id>
  10. Now you will find your play under

    <reactplay_directory>/plays/<your_play_name>
    
  11. Now its all with you, create an awesome play and flaunt it infront of the globe

  12. Create a pull request when you are done

Example: Prepare environemnt

   npx create-react-play@latest -p