No description, website, or topics provided.
JavaScript CSS Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
client
dependencies
public
.gitignore
.gitmodules
README.md
config.TEMPLATE.js
env_dev
env_prod
game.js
initialize.js
models.js
package.json
populateDB.TEMPLATE.js
server.js

README.md

Cards Against Humanity

Multiplayer, real time implementation of the popular card game Cards Against Humanity.

Dependencies:

  • Node.js
  • MongoDB

After you clone:

  git submodule update --init --recursive
  npm install
  • Copy config.TEMPLATE.js to config.js.

  • Copy populateDB.TEMPLATE.js to populateDB.js.

  • In config.js, fill in your mongo connection info.

  • In populateDB.js, fill in your mongo connection info (line 9).

     node populateDB.js
    

Run on dev:

   npm run-script dev
   Visit http://localhost:3000/

Run on prod:

   npm run-script prod
   Visit http://localhost:8080/