Pandemic University Lecture Seat Booking System.
Public API skeleton USE instead the openapi.yaml file as reference
There are two main modes to run the PULSBS application. Using Nodejs installed locally or using the Docker image from DockerHub.
- Install nodeJs (https://nodejs.org/it/download/).
- Clone this repository :
git clone https://github.com/SE2-group4/PULSBS.git
- Open the terminal in the application folder
cd server
npm install
npm start
cd client
npm install
npm start
From this point you could interact with the application visiting http://localhost:3000
- Install Docker (https://www.docker.com/get-started)
- Import the DockerHub Image of the application writing in the terminal :
docker pull se2group4/pulsbs:release2
- Run the application writing in the terminal :
docker run -p 3000:3000 se2group4/pulsbs:release2
- Visit http://localhost:3000 on your browser
- Student :
- Email : fakeStudent.se2@gmail.com
- Password : aldo
- Teacher :
- Email : fakeTeacher.se2@gmail.com
- Password : giacomo
- Booking Manager :
- Email : manager@test.it
- Password : manager
- Support Officer :
- Email : officer1@test.it
- Password : officer1
- run tests
cd <root>/client
npm test
- run the integration/unit tests
cd <root>/server
npm run test
- run the API tests
cd <root>/server
npm run testapi