• Stars
    star
    1,360
  • Rank 34,554 (Top 0.7 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 3 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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.

ReactPlay(Repo: react-play)

All Contributors

react-play

Learn . Create . Share about your ReactJS Development Journey

react-play licence react-play forks react-play stars react-play issues react-play pull-requests

View Demo ยท Report Bug ยท Request Feature

Open in Gitpod

๐Ÿ‘‹ Introducing ReactPlay

name

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

Who doesn't want motivation and support? Many Thanks to all the Stargazers who have supported this project with stars(โญ). You all are amazing!!!

Stargazers repo roster for @reactplay/react-play

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.

๐Ÿ—๏ธ 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 for more details. Also, please check the Contribution Guide to get started.

  • You want to contribute to the react-play repo in general. Please check the Contribution Guide 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 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 <folder-name> 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

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:

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 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

yarn run format

OR

npm run format

Lint the code

to check the linting issue

yarn run lint

OR

npm run lint

to fix the linting issue

yarn run lint:fix

OR

npm run lint:fix

๐Ÿงฑ Build the App for Production

Use the following command to build the app for production:

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 Cypress)

Use the following command to run cypress locally:

yarn cypress:open

OR

npm run cypress:open

It will open the cypress dashboard, through which you need to select E2E Testing. Once you are done with the selection you will get options to choose your preferred browser in which you want to run the test.! Once you select the browser you need to click on Start E2E Testing in <SELECTED_BROWSER_NAME>. The chosen browser will pop up you can see a list of cypress tests, click on the test to start testing.!

๐Ÿš€ 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 for details on our CODE OF CONDUCT, and the process for submitting pull requests to us.

๐Ÿ†• New to Open Source? ๐Ÿ’ก Follow this guide 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

Claim Now!

๐Ÿ™ 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):

Tapas Adhikary
Tapas Adhikary

๐Ÿ’ป
Nirmal Kumar
Nirmal Kumar

๐Ÿ’ป
Murtuzaali Surti
Murtuzaali Surti

๐Ÿ’ป
Abhishek Khatri
Abhishek Khatri

๐Ÿ’ป
Abhishek Holani
Abhishek Holani

๐Ÿ’ป
Hasnain Makada
Hasnain Makada

๐Ÿ’ป
Shrilakshmi Shastry
Shrilakshmi Shastry

๐Ÿ’ป
Mohammed Taha
Mohammed Taha

๐Ÿ’ป
Dalpat Rathore
Dalpat Rathore

๐Ÿ’ป
Eray AlkฤฑลŸ
Eray AlkฤฑลŸ

๐Ÿ’ป
Nirban Chakraborty
Nirban Chakraborty

๐Ÿ’ป
Deepak Pundir
Deepak Pundir

๐Ÿ’ป
Vasanti Suthar
Vasanti Suthar

๐Ÿ“–
Ahnaf Ahamed
Ahnaf Ahamed

๐Ÿ’ป
Shivam Katare
Shivam Katare

๐Ÿ’ป
Shyam Mahanta
Shyam Mahanta

๐Ÿ’ป
Koustov
Koustov

๐Ÿ’ป
Shri Om Trivedi
Shri Om Trivedi

๐Ÿ’ป
Naresh Naik
Naresh Naik

๐Ÿ’ป
Vincent Patoc
Vincent Patoc

๐Ÿ’ป
Sachin Chaurasiya
Sachin Chaurasiya

๐Ÿ’ป
Tejinder Sharma
Tejinder Sharma

๐Ÿ’ป
Ishrar G
Ishrar G

๐Ÿ’ป
Programming-School
Programming-School

๐Ÿ’ป
Valesh Gopal
Valesh Gopal

๐Ÿ’ป
Emdadul Haque
Emdadul Haque

๐Ÿ’ป
Olang Daniel
Olang Daniel

๐Ÿ’ป
Supriya M
Supriya M

๐Ÿ’ป
Saksham chandel
Saksham chandel

๐Ÿ’ป
Luca Pizzini
Luca Pizzini

๐Ÿ’ป
Shivam Bhasin
Shivam Bhasin

๐Ÿ’ป
Tejas Shekar
Tejas Shekar

๐Ÿ’ป
Anirban Pratihar
Anirban Pratihar

๐Ÿ’ป
Harsh Singh
Harsh Singh

๐Ÿ’ป
Franklin U.O. Ohaegbulam
Franklin U.O. Ohaegbulam

๐Ÿ’ป
Ammaar Aslam
Ammaar Aslam

๐Ÿ’ป
Mayukh Bhowmick
Mayukh Bhowmick

๐Ÿ’ป
Emmanuel O Eboh
Emmanuel O Eboh

๐Ÿ’ป
Shailesh Parmar
Shailesh Parmar

๐Ÿ’ป
dangvu0502
dangvu0502

๐Ÿ’ป
Ceesco
Ceesco

๐ŸŽจ
Hamza Ali
Hamza Ali

๐ŸŽจ
yash91989201
yash91989201

๐Ÿ’ป
Makdoom Shaikh
Makdoom Shaikh

๐Ÿ’ป
Muzaffar Hossain
Muzaffar Hossain

๐Ÿ’ป
Susmita Dey
Susmita Dey

๐Ÿ’ป
Sanjay Kumar
Sanjay Kumar

๐Ÿ’ป
Vinay Patil
Vinay Patil

๐Ÿ’ป
Abhilash
Abhilash

๐Ÿ’ป
Kashish Lakhara
Kashish Lakhara

๐Ÿ’ป
hiimnhan
hiimnhan

๐Ÿ’ป
Siddharth Khatri
Siddharth Khatri

๐Ÿ’ป
Emma Dawson
Emma Dawson

๐Ÿ’ป
Senali
Senali

๐Ÿ’ป
Nisha Sen
Nisha Sen

๐Ÿ’ป
Harshil Jani
Harshil Jani

๐Ÿ’ป
Oluka Isaac
Oluka Isaac

๐Ÿ’ป
NagarjunShroff
NagarjunShroff

๐Ÿ’ป
Aakash Vishwakarma
Aakash Vishwakarma

๐Ÿ’ป
Ankit Kumar
Ankit Kumar

๐Ÿ’ป
Keerthivasan D
Keerthivasan D

๐Ÿ’ป
Bhavika Tibrewal
Bhavika Tibrewal

๐Ÿ’ป
Abhi Patel
Abhi Patel

๐Ÿ’ป
Aimun Nahar
Aimun Nahar

๐Ÿ’ป
GodStarLord
GodStarLord

๐Ÿ’ป
Joe Shajan
Joe Shajan

๐Ÿ’ป
MohZaid Kapadia
MohZaid Kapadia

๐Ÿ’ป
Sam
Sam

๐Ÿ’ป
Sam
Trishna Kalita

๐Ÿ’ป
Sam
Wyarej Ali

๐Ÿ’ป
Sam
Zรผlal Nebin

๐Ÿ’ป
Sam
Nrshnaik

๐Ÿ’ป

This project follows the all-contributors specification. Contributions of any kind are welcome!