Skip to content

andriyanovDS/game-2048-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2048-game-server

Simple nodeJS server for 2048 game

To start server run following commands in terminal:

  1. npm i
  2. npm run run-server

To setup mongoDB on local machine (all steps related to macOS users only):

  1. brew tap mongodb/brew
  2. brew install [email protected]
  3. brew services start [email protected]
  4. if you use Catalina OS run mkdir -p /Users/user/data/db and all commands from SO post
  5. mongod --dbpath=/Users/user/data/db --replSet "rs" - to setup replication set
  6. mongo -> rs.initiate() -> use gamesDb -> db.createCollection('rooms')

About

Simple nodeJS server for 2048 game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published