Skip to content

MartinStanchev/DistributedSystemsProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DistributedSystemsProject

DIT355 University of Gothenburg mini project

To start the server:

npm install
npm start
Open localhost:3000 or the server's IP address if testing on another computer.

To start mongod service:

service mongod start in UNIX terminal.

Server must be run on a Linux machine to execute srcML and nmap.
To install nmap run sudo apt-get install nmap in the console.
MongoDB is required to be active and running on starting the server.

A github account is required to login.
After loggin in choose a repository and click on View Diagram to see it visualised.
Multiple server can be connected and use seperate databases which will allow for fault-tolerance and distribution.
If people are editing on a different database they cannot make changes.

Dependencies handled by npm

backend Folder contains the code for the backend and middleware.

  • middleware folder contains the blackboard code.
  • models contains our data model template that we use to save to the database.
  • script contains components for the logic, like converting code to xml and visualizing it, finding different servers on the network etc.

frontend folder contains the code for the frontend and visualisation. Inside it you can find the html files for the web pages.

  • css folder contains all the css files and a folder with the images that we're using for our logo and the front page.
  • scripts folder contains the javascript files managing the frontend.

srcML contains the source code for srcML for Ubuntu.

About

DIT355 University of Gothenburg mini project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published