XBoard is a web-based online collaborative “whiteboard” that empowers a group of users to share almost any kind of information under one “whiteboard”. It can be a block of text, a picture, a drawing, a website, or even a video… Every block is draggable and can be located anywhere on the board. XBoard can be used in many different working environments. For example, during the brainstorming phase, users can paste any related information onto the “whiteboard” and make connections among them.
Frontend code is located under src
and public
Backend code is located under backend
Test code is located under test
First, enter backend
folder, run npm install
to install relative dependencies.
You also need a postgres databse. After you install it, please configure the database
name, database user
, and password
under db_config
under team-A4/Backend/app.js
.
Locate makefile
under the main directory. In your termianl, type make server_up
.
First, under the root folder, run npm install
to install relative dependencies.
Under the root folder, run npm start
to start the application. A website will pop-up.
Under the test
folder, run npm install
then npm test
. It will go through all the test cases. If you want to select a specific test, run npm test -- --grep "<Test Name>"
.
Insecure content
in your browser)