Campus360-JS

University of Waikato funded project - developed following on from the COMPX241-21A Smoke and Mirrors Project

made to showcase student talent @ UoW.

How to use


SERVER Setup:

git clone https://github.com/ChocolateVS/Campus360-JS.git && \
cd Campus360-JS

To Start:

Either add your user to the docker admin group sudo usermod -aG docker $USER or add sudo to the front of each command below.

docker-compose build && \
docker-compose up --no-start && \
docker start campus360-js_nodejs_1 campus360-js_mongo_1 campus360-js_mongo-express_1

Editing:


To edit the NodeJS when docker has already been created:

OR (GUI OPTION)

Use of API

How it works

HTML5 - front end - Using Panneleum to view 360deg
NodeJS - server side
MongoDB - database
Mongo-Express - GUI mongodb editor Docker - runs the NodeJS, DB and GUI editor
Android App - Gitrepo linked - create maps, points and manage bringing all together - connects via Wifi to the 360deg camera.

Common Issues

What if the credentials failed for MonoDB - Manually setting the credentials for the waikato_db

Potentially the docker-compose up may show that the mongo-init.js has failed to create the neccessary users - follow this to manually add said user. Once sudo docker-compose up has booted up (i.e. creates the containers), you will need to ‘ctrl-c’ and exit out

Rowan: Developed the Android app & Front-end
Alexander: Developed the backend, server-config & Front end