This is the backend server for the ARTris iOS app - a multiplayer real-time 3D AR Tetris game built with ARKit, Node.js, and Firebase. Special thanks to fridek the core or our game engine is based on on his Tetris project
Here are the list of dependencies
-
Clone the repository
-
Set up your firebase real-time database
- Create a new firebase project or reuse an old one
- For development set your firebase realtime database rules to true for both read and write
- Download service key and save it in cred/ folder, name the file
serviceAccountKey.json
. to download the file go to : Project Settings -> Service Accounts -> Generate New Private Key
-
Configure index.js
- Go to line 8 on index.js and replace the
fireDatabaseUrl
with the database url of your firebase project
- Go to line 8 on index.js and replace the
$ node index.js