Skip to content
This repository has been archived by the owner on May 1, 2021. It is now read-only.

spydx/dat250gruppe9

Repository files navigation

DAT250 Gruppe 9

Gruppeoppgave for DAT250 H2020

Andrè Frøseth Jønland

Jan-Erik Erstad

Kenneth Fossen

Rune Almåsbakk

Design Document

Design: High-level application design and persistence

First assignment to design the application.

Prototyping

Prototyping: High-level application persistence

Persistent prototyping for the first assignment creating our datamodel for the app.

Design and Prototyping: Business logic and REST API

Second assignment where we designed and implemented the RESTAPI w/swagger and the businesslogic in Services.

Final Presentation

Final Presentation

PollHub (FeedApp)

To spin up this setup you have to have installed Docker Make sure you are in the folder that holds the docker-compose.yml file.

This spins up 7 containers:

kenneth@kefo ~/dat250gruppe9> docker-compose up -d
Starting dat250gruppe9_feedapp-iotdevice_1 ... done
Starting dat250gruppe9_feedapp-db_1        ... done
Starting dat250gruppe9_feedapp-messaging_1 ... done
Starting dat250gruppe9_cloud-mongodb_1     ... done
Starting dat250gruppe9_feedaapp-frontend_1 ... done
Starting dat250gruppe9_feedapp-muservice_1 ... done
Starting dat250gruppe9_feedapp-api_1       ... done
kenneth@kefo ~/dat250gruppe9> 

This will create a default setup that has a the following user installed.

  • admin@pollhub.no / admin
  • iot {iot-test-device} / 1234, username is hardcoded to the "device"
  • mongodb: feedapp /mongo
  • mysql: feedapp /feedapppassword

To configure the admin password for the service. Do this in the application.properties

CORS disabled browser (Chrome)

Using the following commands in CMD should open a Chrome browser with diabled security. Do not use this for normal browsing!!!

For Windows:

cd 'C:\Program Files (x86)\Google\Chrome\Application'

.\chrome.exe --disable-web-security --user-data-dir=c:\my-chrome-data\data

For MAC OS:

open -n -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --user-data-dir="/tmp/chrome_dev_sess_1" --disable-web-security

Other Documents

About

Gruppe oppgave for DAT250

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •