Skip to content

darkterbear/hearts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hearts

An online room-based card game: Hearts

Getting Started

Prerequisites

  • Node.js: 10.3.0
  • NPM: 6.4.0
  • yarn
  • pm2
  • serve

Setup

Clone this repository...

git clone [email protected]:darkterbear/hearts
cd hearts/

Install dependencies

scripts/setup.sh

The client ./src/sockets.js contains the URL for the server. It is set to localhost:3001 by default, and the server runs on port 3001. However, if you are hosting the server elsewhere, change the const URL in ./src/sockets.js to the hostname and port of your host.

Development

Simply run npm start in client/ or server/.

Production

Run scripts/deploy.sh. CAUTION: this resets all changes in Git-tracked files!

Built With

  • Express.js
  • React
  • Socket.io and Socket.io Client

Author

  • Terrance Li - initial work

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

An online room-based card game: Hearts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages