/rock-paper-scissors

Rock Paper Scissors game with React, NodeJS and MongoDB

Primary LanguageJavaScript

Simple Rock Paper Scissors game with React, NodeJS and MongoDB

@author jpkniem@gmail.com, Jani Nieminen, 2020

Installing

At root directory:

  • cd client
  • run yarn install

At root directory:

  • cd server
  • run npm install

Running server

You need to have mongodb installed on your system.

  • In server directory run mongod --dbpath data/
  • then type: node main.js

Now the server is running and waiting for client connection.

Running client

  • Open up new terminal window

At the root directory:

  • cd client
  • yarn start