jpknie / rock-paper-scissors

Rock Paper Scissors game with React, NodeJS and MongoDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Rock Paper Scissors game with React, NodeJS and MongoDB


Languages

Language:JavaScript 80.4%Language:HTML 12.6%Language:CSS 6.9%