Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.74 KB

README.md

File metadata and controls

54 lines (35 loc) · 1.74 KB

Student Auditorium Management System (SAMS)

Build codecov

Webp net-gifmaker

Authors

  • Group Name: Eternal Blue
  • Group Number: 13 (CS29006-Spring-2021)
  • Members:
    • Aaditya Agrawal (19CS10003)
    • Debanjan Saha (19CS30014)
    • Deep Majumder (19CS30015)

Building and Running

There are two components to this project - a backend server which runs on port 8080 and a frontend server which runs on 3000. Both ports must thus be free.

Backend

The backend is in Java and needs:

  • JDK 11 or higher
  • Mongo DB >= 4.4

After the DB server is started with sudo systemctl start mongod, start the backend from the as cd backend && ./mvnw spring-boot:run.

Frontend

The frontend is written in JavaScript and needs:

  • node >= 14.16
  • npm >= 7.7.5

To run the frontend,

cd frontend
npm install
npm run build 
npm run deploy

Then open http://localhost:3000 in your browser.

Generating Test reports

The following operations are to be performed in the backend directory.

  • Just run the test: mvn test
  • Run the tests with coverage: First follow the instructions here. Then run mvn clean clover:setup test clover:aggregate clover:clover. You can find the report in backend/target/site/clover/index.html
  • Run the tests and generate test report: mvn surefire-report:report. You can find the report in backend/target/site/surefire-report.html