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.
- Run the program in your terminal.
- Enter your desired project name when prompted.
- Select a project type from the provided options.
- Confirm your choice when asked.
- react-proyect-gen will run the necessary command to generate the selected project template.
- After project generation, you can interact with the project's command-line tools directly.
- 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.
- Clone or download this repository.
- Make sure you have Rust installed on your system.
- Open your terminal and navigate to the project directory.
- Run the program using the
cargo run
command.
-
After running the program, you can generate an executable by building the project using the
cargo build --release
command. -
Once the build is successful, the executable will be located in the
target/release/
directory within the project folder. -
For convenience, consider moving the executable to a directory that's part of your system's PATH, such as
/usr/local/bin
or~/bin
. -
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'
- Next.js
- Vite.js
- T3-App
- Create-React-App
- React native bare
- React native expo
- Turborepo
- Make options selectable with the keyboard
- Support more frameworks/templates
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.