Giter Club home page Giter Club logo

react-proyect-gen's Introduction

react-proyect-gen

React proyect generator is a command-line tool that simplifies the process of selecting and creating React projects. With RPG, you can easily choose from a variety of React frameworks/templates and have a new project set up in no time.

How It Works

  1. Run the program in your terminal.
  2. Enter your desired project name when prompted.
  3. Select a project type from the provided options.
  4. Confirm your choice when asked.
  5. react-proyect-gen will run the necessary command to generate the selected project template.
  6. After project generation, you can interact with the project's command-line tools directly.

Features

  • Easy project selection: Choose from a range of popular React project templates.
  • User-friendly interface: Clearly presented options and prompts.
  • Quick setup: Create new React projects without the hassle of manually setting up templates.

Usage

  1. Clone or download this repository.
  2. Make sure you have Rust installed on your system.
  3. Open your terminal and navigate to the project directory.
  4. Run the program using the cargo run command.

Recommended Steps

  1. After running the program, you can generate an executable by building the project using the cargo build --release command.

  2. Once the build is successful, the executable will be located in the target/release/ directory within the project folder.

  3. For convenience, consider moving the executable to a directory that's part of your system's PATH, such as /usr/local/bin or ~/bin.

  4. To make it even more convenient, you can create an alias that points directly to the executable. For example, you can add the following line to your shell's configuration file (e.g., .bashrc, .zshrc):

    alias react-gen='~/bin/react-proyect-gen'
    

Supported Frameworks/Templates

  • Next.js
  • Vite.js
  • T3-App
  • Create-React-App
  • React native bare
  • React native expo
  • Turborepo

ToDo

  • Make options selectable with the keyboard
  • Support more frameworks/templates

License

This project is licensed under the MIT License.


Feel free to contribute and improve this project! If you have any questions or suggestions, please open an issue or pull request.

react-proyect-gen's People

Contributors

marianocorvatta avatar

Stargazers

 avatar  avatar Colombo Franco German avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.