Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reactplay/react-play
react-play is an opensource platform that helps you learn ReactJS faster with hands-on practice model. It is a collection of projects that you can use to learn ReactJS.
https://github.com/reactplay/react-play
hacktoberfest hacktoberfest24 javascript open-source opensource react react-hooks reactjs
Last synced: 4 days ago
JSON representation
react-play is an opensource platform that helps you learn ReactJS faster with hands-on practice model. It is a collection of projects that you can use to learn ReactJS.
- Host: GitHub
- URL: https://github.com/reactplay/react-play
- Owner: reactplay
- License: mit
- Created: 2022-01-10T07:04:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-25T04:40:13.000Z (2 months ago)
- Last Synced: 2024-10-29T17:48:47.356Z (2 months ago)
- Topics: hacktoberfest, hacktoberfest24, javascript, open-source, opensource, react, react-hooks, reactjs
- Language: JavaScript
- Homepage: https://reactplay.io
- Size: 115 MB
- Stars: 1,363
- Watchers: 23
- Forks: 837
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-hacktoberfest - HacktoberFest
README
# ReactPlay(Repo: `react-play`)
[![All Contributors](https://img.shields.io/badge/all_contributors-80-orange.svg?style=flat-square)](#contributors-)
Learn . Create . Share about your ReactJS Development Journey
View Demo
Β·
Report Bug
Β·
Request Feature
## π Introducing ReactPlay
`react-play` is an `open-source` web app that helps you learn ReactJS faster with a hands-on practice model. It is a collection of `ReactJS projects` that you can use to learn ReactJS.
Is that all? Nope. You can also create your projects and share them with the world. The best part is that the ReactJS experts will `review` your project code before it gets part of the `ReactPlay` app. Isn't that a pure WIN-WIN?
## π₯ Demo
Here is the link to the app. We hope you enjoy it.
> [The ReactPlay app Link](https://reactplay.io)
Who doesn't want motivation and support? Many Thanks to all the Stargazers who have supported this project with stars(β). You all are amazing!!!
Please support the work by giving the repository a β, contributing to it, and/or sponsoring using the `Sponsor` button at the top π. You can also follow us on Twitter [@reactplayio](https://twitter.com/reactplayio).
## ποΈ How to Set up `ReactPlay` for Development?
You may want to set up the `react-play` repo for the following reasons:
- You want to create a new play (A play is a React project) or want to edit an existing play as a contributor. Please check the [Create a Play Guide](https://docs.reactplay.io/How-To-Guides/how-to-create-play) for more details. Also, please check the [Contribution Guide](./CONTRIBUTING.md) to get started.
- You want to contribute to the `react-play` repo in general. Please check the [Contribution Guide](./CONTRIBUTING.md) to get started.
Here is a quick overview of the `react-play` repo setup:
### π΄ Fork and Clone the Repo
First, you need to fork the `react-play` repo. You can do this by clicking the `Fork` button on the top right corner of the repo. If you are new to forking, please watch this [YouTube Guide](https://www.youtube.com/watch?v=h8suY-Osn8Q) to get started.
Once forked, you can clone the repo by clicking the `Clone or Download` button on the top right corner of the forked repo.
Please change the directory after cloning the repository using the `cd ` command.
> **Note:** Please do not remove the `.env.development` file from the root folder. It contains all the environment variables required for development.
### β¬οΈ Install Dependencies
Next, install the dependencies by running the following command in the `react-play` repo. we recommend using `yarn` but you can install using `npm` too
```bash
yarn install
```Or
```
npm install
```if you don't have `yarn` installed on your PC, follow the steps below to install it..
**Windows**
1. open your command prompt as administrator.
2. write `corepack enable` and hit enter.
3. then `npm install --global yarn`**Linux**
1. open terminal and hit `npm install --global yarn`**MacOS**
1. open terminal and hit `npm install --global yarn`
or
`brew install yarn`**Or Download Package**
If you are unable to install yarn following the above-mentioned process, then you can simply download the package and install it. Visit the official website of Yarn; there you can just expand the "Alternative" section and it will ask for the version to download for Windows, Linux, or Mac.
`https://classic.yarnpkg.com/en/docs/install#windows-stable`> **Note**: `ReactPlay` runs on React 18. However, some of our dependencies are yet to upgrade to version 18. So please use the following command when you face difficulties installing the dependencies. Also, ensure to use Node.js version >= 16.x
```
npm install --legacy-peer-deps
```### π¦ Start the Development Mode
Use the following command to start the app in the development mode:
```bash
yarn start
```
or if you installed dependencies using ``npm`` use below command```
npm start
```**Note**: The `start` script automatically invokes "linters" process. Should you need to run the app without `lint` the use `start:nolint` instead.
However make sure that you run `start` script at least once before committing your code. Code with linter error may not be reviewed.It runs the app in development mode. Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
The page will reload when you make changes. You may also see any lint errors in the console.
### β¨ Format and lint the code
Use the following command to format and lint the code:
#### Format the code
```bash
yarn run format
```
OR
```
npm run format
```#### Lint the code
*to check the linting issue*
```bash
yarn run lint
```
OR
```
npm run lint
```
*to fix the linting issue*
```bash
yarn run lint:fix
```
OR
```
npm run lint:fix
```### 𧱠Build the App for Production
Use the following command to build the app for production:
```bash
yarn build
```
OR
```
npm build
```It builds the app for production to the `build` folder. It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.
--------------------------------------------------------------
### π§ͺ Test App Locally (E2E with Playwright)
Use the following command to install browser(s) binaries to test locally:
```bash
yarn install playwright
```
OR
```
npm install playwright
```Use the following command to run Playwright tests:
```bash
yarn e2e
```
OR
```
npm run e2e
```
π Read more about testing in [react-play](../react-play/e2e/README.md)π Read more about playwright: https://playwright.dev/
--------------------------------------------------------------
### π Deploy
You can deploy the app to `Vercel` or `Netlify` with a single click.
## π€ Contributing to `ReactPlay`
Any kind of positive contribution is welcome! Please help us to grow by contributing to the project.
If you wish to contribute, you can,
- Create a Play
- Suggest a Feature
- Test the app, and help it improve.
- Improve the app, fix bugs, etc.
- Improve documentation.
- Create content about ReactPlay and share it with the world.> Please read [`CONTRIBUTING`](CONTRIBUTING.md) for details on our [`CODE OF CONDUCT`](CODE_OF_CONDUCT.md), and the process for submitting pull requests to us.
π New to Open Source? π‘ Follow this [guide](https://opensource.guide/how-to-contribute/) to jumpstart your Open Source journey π.
## Launching reactplay Rewards
Contributed to reactplay? Here is a big thank you from our community to you.
Claim your badge and showcase them with pride.
Let us inspire more folks !![reactplay Badges](https://aviyel.com/assets/uploads/rewards/share/project/43/512/share.png)
### **[Claim Now!](https://aviyel.com/projects/43/reactplay/rewards)**
## π Support
We all need support and motivation. `ReactPlay` is not an exception. Please give this project a βοΈ to encourage and show that you liked it. Don't forget to leave a star βοΈ before you move away.
If you found the app helpful, consider supporting us with a coffee.
---
A βοΈ to ReactPlay is to make us more πͺ stronger and motivated.## Contributors β¨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Tapas Adhikary
π»
Nirmal Kumar
π»
Murtuzaali Surti
π»
Abhishek Khatri
π»
Abhishek Holani
π»
Hasnain Makada
π»
Shrilakshmi Shastry
π»
Mohammed Taha
π»
Dalpat Rathore
π»
Eray AlkΔ±Ε
π»
Nirban Chakraborty
π»
Deepak Pundir
π»
Vasanti Suthar
π
Ahnaf Ahamed
π»
Shivam Katare
π»
Shyam Mahanta
π»
Koustov
π»
Shri Om Trivedi
π»
Naresh Naik
π»
Vincent Patoc
π»
Sachin Chaurasiya
π»
Tejinder Sharma
π»
Ishrar G
π»
Programming-School
π»
Valesh Gopal
π»
Emdadul Haque
π»
Olang Daniel
π»
Supriya M
π»
Saksham chandel
π»
Luca Pizzini
π»
Shivam Bhasin
π»
Tejas Shekar
π»
Anirban Pratihar
π»
Harsh Singh
π»
Franklin U.O. Ohaegbulam
π»
Ammaar Aslam
π»
Mayukh Bhowmick
π»
Emmanuel O Eboh
π»
Shailesh Parmar
π»
dangvu0502
π»
Ceesco
π¨
Hamza Ali
π¨
yash91989201
π»
Makdoom Shaikh
π»
Muzaffar Hossain
π»
Susmita Dey
π»
Sanjay Kumar
π»
Vinay Patil
π»
Abhilash
π»
Kashish Lakhara
π»
hiimnhan
π»
Siddharth Khatri
π»
Emma Dawson
π»
Senali
π»
Nisha Sen
π»
Harshil Jani
π»
Oluka Isaac
π»
NagarjunShroff
π»
Aakash Vishwakarma
π»
Ankit Kumar
π»
Keerthivasan D
π»
Bhavika Tibrewal
π»
Abhi Patel
π»
Aimun Nahar
π»
GodStarLord
π»
Joe Shajan
π»
MohZaid Kapadia
π»
Sam
π»
Trishna Kalita
π»
Wyarej Ali
π»
ZΓΌlal Nebin
π»
nrshnaik
π»
Jannik Schmidtke
π»
Md. Saddam Hossain
π»
Janvi Bajoria
π»
Chhakuli Zingare
π»
clevercoderjoy
π»
Priyankar Pal
π»
Akshay Gore
π»
Md. Saddam Hossain
π»
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind are welcome!