Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 1.78 KB

README.MD

File metadata and controls

56 lines (34 loc) · 1.78 KB

React-ion App

A simple reaction game built with react and socket.io. Try it on https://reaction-app-2.herokuapp.com/ with your friends, to see who is faster :)


Developer Quick Start

Prerequisites: In order to successfully complete this quick start, you will need to have the following installed locally:

Installation directions are beyond the scope of this document. Instead, search the Google. Installing these two packages has been written about ad-nauseum.

From a terminal (or GitBash for Windows users), run the following commands (Please note that 'npm run server-dev' and 'npm run client-dev' should be run in separate terminals):

  1. git clone https://github.com/Tobjoern/reaction-app.git
  2. cd reaction-app
  3. npm install
  4. npm run client-install
  5. npm run server-dev
  6. npm run client-dev

Once that finishes doing its thing, you should see something close to the following in the terminal:

> npm run client-dev
Compiled successfully!

You can now view reaction-app in the browser.

  Local:            http://localhost:3001/
  On Your Network:  http://192.168.178.40:3001/

Note that the development build is not optimized.
To create a production build, use yarn build.

Done.

If you have any trouble at all, feel free to open an issue

About

This project is supposed to give developers a simple, fun example of the possiblities of websockets. More this project was made to be deployed to heroku. Simply fork it, upload it, and you have your own website with a fun reaction game! You can use this project and the source code for commercial purposes. (MIT License)

License

MIT License