Skip to content

g3r4/space-invaders-node-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space invaders

Get ready to invade your spaces!

Instructions

  1. Clone the repository
  2. To get a faster setup create a new account on mlab.com add a new database and usename for that database
  3. Be sure to add a config.json file inside the config folder with your database details and at least one space (very important!) example:
{
    "uname": "yourUserName",
    "pwd": "yourPassword",
    "dbinstance": "@dsxxxxx.mlab.com:xxxxx/databasename",
    "spaces": ["Lounge",
                "Conference room"
                ]
}
  1. run npm install
  2. run npm start or npm run devstart (To use nodemon instead of node)
  3. go to http://localhost:3000
  4. you can also go to http://localhost:3000/api/setupInvasions to create some example records on the backend

Api Documentation

Api documentation has been added to this project using http://apidocjs.com to see the documentation just go to http://localhost:3000/doc. In order to change the documentation, you will need to install apidoc first npm install -g apidoc and then inside your project's folder run apidoc -i controllers/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published