Skip to content

A simple reaction game built with react and socket.io

License

Notifications You must be signed in to change notification settings

Tobjoern/reaction-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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