Skip to content

Designed a webapp to manage and book auditoriums, with a well-rounded test-suite.

Notifications You must be signed in to change notification settings

aaditya-ag/SAMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Student Auditorium Management Sytem (SAMS)

Build codecov

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

About

Designed a webapp to manage and book auditoriums, with a well-rounded test-suite.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •