Skip to content

polygon-studios/dedotated-wam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dedotated-wam

Server side code in Express, Socket.io and MongoDB

Welcome to dedotated-wam

This repo is the server side repo code for handling our game server logic.

It communicates with the client using socket.io within express for real-time communication, and (hopefully) communicates with the Unity server by using GET and POST methods using plain express.js

To do

  • Get a mongoDB instance running ✅
  • Figure out mongo database structure
  • Get things storing/retreiving out of mongo database ✅
  • After that try to send/receive basic data from mobilia (front-end client code)

As of Sept 11th the following:

Server

This code is hosted on a digitalocean droplet with IP address (Jokes, nice try hackers) And has:

  • Nginx for rebooting/persistence
  • Nginx to be able to use port :80 instead of :3000

Code

Has:

  • Node, NPM, ExpressJS, Nginx
  • Form demo storing info in the session (no connection to mongo)
  • Code base is stored in /home/iryanclarke/dedotated-wam
  • Has an example codebase running that connects to and works with the persistent monga database
  • UPDATE: Has middlewares as the socketio

Server commands:

  • sudo start dedotated-wam
  • sudo stop dedotated-wam
  • sudo restard dedotated-wam

About

Pyjama Jam's backend and mobile brain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published