Skip to content

Pandemic University Lecture Seat Booking System

Notifications You must be signed in to change notification settings

se2team3/PULSeBS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PULSeBS

Pandemic University Lecture Seat Booking System

Build Status codecov Quality Gate Status Code Smells Technical Debt Vulnerabilities

Run with docker

Here an example with our latest image

sudo docker pull se2team3/pulsebs:latest
sudo docker run -p 80:3000 -p 3001:3001 se2team3/pulsebs:latest

The application is then available on port 80 of the host, and is usable with any modern browser once the server has properly started.

Instead of the latest image any tag from our docker hub repository could be used (e.g. release-x.y.z).

The latest image is automatically built for every change on our master branch, the tags starting with release correspond to proper releases of the software (they are also automatically built for each tag x.y.z found on the master branch).

Setup and run locally

Clone the repository, open a terminal in the directory just created.

Perform npm install for both the client and the server.

Then to start the application just npm start both client and server.

Running automated tests

Automated tests are run by Travis CI on every commit on a pull request and periodically on master.

Integration testing on the client side is performed using cypress.

To run automated tests on your machine you could use.

# in the PULSeBS repository directory
cd client
npm test
npm run start:instrumented
# in another terminal
npm run cy:run # or npm run cy:open if you want to run cypress tests manually one by one
cd ../server
npm test

Documentation

In the server directory there is a list of the API endpoints available.

In the client/doc folder sketched for the GUI are found.