An open API service indexing awesome lists of open source software.

https://github.com/hxhippy/hxreact

HxReact - Hippy's Hardcore React Setup Script πŸš€
https://github.com/hxhippy/hxreact

automated-setup beginner-friendly dev-tools frontend-dev hxreact nodejs open-source react-app-generator react-setup tailwindcss web-dev

Last synced: 26 days ago
JSON representation

HxReact - Hippy's Hardcore React Setup Script πŸš€

Awesome Lists containing this project

README

          

# HxReact - Hippy's Hardcore React Setup Script πŸš€

[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
[![Twitter Follow](https://img.shields.io/twitter/follow/HxHippy?style=social)](https://twitter.com/HxHippy)
[![Website](https://img.shields.io/badge/website-hxhippy.com-blue)](https://hxhippy.com)
[![Affiliation](https://img.shields.io/badge/affiliated-TRaViS-orange)](https://travisasm.com)
[![Donate](https://img.shields.io/badge/donate-BuyMeACoffee-yellow)](https://www.buymeacoffee.com/hxhippy)

An **automated**, **interactive** script for setting up a customized **React** application with your preferred frameworks, libraries, and toolsβ€”all tailored to your experience level. **Boost your productivity** and jumpstart your React projects with ease!

---

## 🌟 Features

- **Interactive CLI**: Guides you through setting up a React project with options suitable for both beginners and advanced users.
- **Customizable Configuration**: Choose from popular frameworks like **Next.js**, **Remix**, **Gatsby**, **Vite**, or **Create React App**.
- **TypeScript Support**: Optionally include **TypeScript** for enhanced code quality and error checking.
- **UI Libraries**: Integrate UI frameworks like **Tailwind CSS**, **Chakra UI**, **Material-UI**, **Ant Design**, or **styled-components**.
- **State Management**: Select from **Redux Toolkit**, **Zustand**, **Jotai**, **Recoil**, **MobX**, **XState**, or none.
- **Database/ORM Integration**: Set up **Prisma**, **Firebase**, **Mongoose**, or **SQLite** as per your project needs.
- **GraphQL and Authentication**: Optionally configure **GraphQL** clients (**Apollo**, **Relay**, **urql**) and **authentication** providers (**Auth0**, **Firebase Auth**, **NextAuth.js**).
- **Testing Frameworks**: Include **Jest**, **Vitest**, or **Cypress** for robust testing.
- **Additional Tools**: Automatically installs helpful packages like **Axios**, **React Hook Form**, **Zod**, **React Query**, **Date-fns**, **React Icons**, and **Lodash**.
- **Development Enhancements**: Sets up **ESLint**, **Prettier**, **Husky**, and **lint-staged** for code quality and consistency.
- **Optional Add-ons**: Supports **Storybook**, **internationalization (i18n)** with **react-i18next**, **PWA** capabilities, and **CI/CD** with **GitHub Actions**.

---

## 🎯 Why Choose HxReact?

- **πŸš€ Rapid Setup**: Automate the tedious setup process and get straight to coding.
- **πŸ‘©β€πŸ’» Beginner-Friendly**: Provides detailed explanations and guides for newcomers.
- **πŸŽ›οΈ Highly Customizable**: Tailor your React project to your specific needs and preferences.
- **πŸ”§ Best Practices**: Ensures best practices are followed with proper tooling and configurations.
- **πŸ’‘ Stay Updated**: Always uses the latest versions of packages with `@latest`.

---

## πŸ“₯ Installation

```bash
# Clone the repository
git clone https://github.com/hxhippy/hxreact.git

# Navigate into the directory
cd hxreact-setup

# Make the script executable
chmod +x hxreact.sh
```

---

## πŸ› οΈ Usage

```bash
# Run the script
./hxreact.sh
```

Follow the interactive prompts to set up your React application.

---

## πŸ“– Detailed Documentation

### Table of Contents

- [Features](#-features)
- [Why Choose HxReact?](#-why-choose-hxreact)
- [Installation](#-installation)
- [Usage](#-usage)
- [Options and Customizations](#-options-and-customizations)
- [Generated Project Structure](#-generated-project-structure)
- [Contributing](#-contributing)
- [License](#-license)
- [Connect with Us](#-connect-with-us)
- [Support Us](#-support-us)
- [Acknowledgements](#-acknowledgements)

---

## βš™οΈ Options and Customizations

**HxReact** offers a plethora of options to customize your React setup:

- **Frameworks**: Next.js, Remix, Gatsby, Vite + React, Create React App.
- **TypeScript**: Option to include TypeScript support.
- **UI Libraries**: Tailwind CSS, Chakra UI, Material-UI, Ant Design, styled-components.
- **State Management**: Redux Toolkit, Zustand, Jotai, Recoil, MobX, XState.
- **Database/ORM**: Prisma, Firebase, Mongoose, SQLite.
- **GraphQL Clients**: Apollo Client, Relay, urql.
- **Authentication Providers**: Auth0, Firebase Authentication, NextAuth.js.
- **Testing Frameworks**: Jest + React Testing Library, Vitest, Cypress.
- **Additional Tools**: Axios, React Hook Form, Zod, React Query, Date-fns, React Icons, Lodash.
- **Development Tools**: ESLint, Prettier, Husky, lint-staged.
- **Optional Add-ons**: Storybook, react-i18next (i18n), PWA capabilities, GitHub Actions for CI/CD.

---

## πŸ—‚οΈ Generated Project Structure

Your project will have a clean and organized structure:

```
your-project-name/
β”œβ”€β”€ .github/workflows/
β”‚ └── ci.yml # CI/CD configuration
β”œβ”€β”€ node_modules/
β”œβ”€β”€ public/
β”‚ └── locales/ # i18n translations
β”œβ”€β”€ src/
β”‚ β”œβ”€β”€ components/
β”‚ β”œβ”€β”€ styles/
β”‚ β”‚ └── globals.css
β”‚ β”œβ”€β”€ App.js / App.tsx
β”‚ β”œβ”€β”€ index.js / index.tsx
β”‚ └── ...
β”œβ”€β”€ .env
β”œβ”€β”€ .gitignore
β”œβ”€β”€ LICENSE
β”œβ”€β”€ NOTICE
β”œβ”€β”€ README.md
β”œβ”€β”€ package.json
└── ...
```

---

## 🀝 Contributing

We welcome contributions from the community! Please read our [Contributing Guidelines](CONTRIBUTING.md) before submitting a pull request.

---

## πŸ“„ License

This project is licensed under the **Apache License 2.0**. See the [LICENSE](LICENSE) file for details.

**Attribution Notice**: Users of this software must preserve the [NOTICE](NOTICE) file, which includes attribution to the original author and associated entities.

---

## 🌐 Connect with Us

- **Creator**: [@HxHippy on X (Twitter)](https://twitter.com/HxHippy)
- **Website**: [hxhippy.com](https://hxhippy.com)
- **Company**: [Kief Studio](https://kief.studio)
- **Affiliation**: Advisor of [TRaViS - Threat Reconnaissance and Vulnerability Intelligence System](https://travisasm.com)

---

## πŸ’– Support Us

If you find this project helpful, please consider supporting us:

- **Buy Me a Coffee**: [https://www.buymeacoffee.com/hxhippy](https://www.buymeacoffee.com/hxhippy)
- **Star this Repository**: ⭐️ at the top right corner of this page.
- **Share with Others**: Spread the word on social media and among your developer friends.

---

## πŸ”— Affiliate Link to TRaViS

### Discover TRaViS - The Next-Gen EASM Tool

[![TRaViS](https://img.shields.io/badge/TRaViS-Visit%20Now-brightgreen)](https://travisasm.com?ref=hxreact)

Ever heard of **TRaViS**? It's the **Threat Reconnaissance and Vulnerability Intelligence System**β€”a next-gen **External Attack Surface Management (EASM)** tool.

**Imagine having a personal security assistant watching over your projects, helping you find vulnerabilities before the bad guys do. Sounds cool, right?**

- **Check it out here**: [https://travisasm.com?ref=hxreact](https://travisasm.com?ref=hxreact)
- **Join the Affiliate Program**: Earn by sharing TRaViS with others! [https://travisasm.com/affiliate-marketing-program](https://travisasm.com/affiliate-marketing-program)

---

## πŸ™ Acknowledgements

- **HxHippy**: For creating this comprehensive setup script.
- **Kief Studio**: Supporting company behind the development.
- **TRaViS**: For their cutting-edge security solutions.
- **Open-Source Community**: For the amazing tools and libraries utilized in this project.

---

## πŸ“£ Spread the Word

If you like **HxReact**, please consider sharing it with others who might find it useful.

- **Tweet About It**: [Click here to share on X](https://twitter.com/intent/tweet?text=Check%20out%20HxReact%20-%20an%20awesome%20interactive%20script%20for%20setting%20up%20React%20projects!%20%23ReactJS%20%23JavaScript&url=https://github.com/hxhippy/hxreact)
- **Share on LinkedIn**: [Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https://github.com/hxhippy/hxreact-setup)

---

**Boost your React development workflow today with HxReact!**

---

*Feel free to open an issue or submit a pull request if you have any questions or suggestions.*

---

## πŸ“ Additional Notes

- **FAQ**: Frequently Asked Questions are answered in the [FAQ](FAQ.md) section.

---

## πŸ“¬ Contact

For any inquiries or feedback, you can reach out to:

- **Email**: [contact@hxhippy.com](mailto:contact@hxhippy.com)
- **X**: [@HxHippy](https://x.com/HxHippy)

---

## πŸš€ Let's Build Something Amazing Together!

HxReact is designed to simplify and accelerate your React development process. Whether you're a beginner taking your first steps into the world of React or an experienced developer looking to streamline your workflow, HxReact has got you covered.

---

**Thank you for using HxReact! Happy Coding!** πŸŽ‰

---

*This README was generated with ❀️ by [HxHippy](https://hxhippy.com).*

---