Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.08 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.08 KB

MotiClubs - Service

Spring Maven Build

This service is backend of the MotiClubs App.

Swagger URLs

Environment URL
dev http://localhost:8002/swagger
prod https://sac.mnnit.ac.in/moticlubs/swagger

Testing

This service additionally requires the following files for running locally:

  • secrets.yml
  • firebase_private_key.json

Run Locally

Execute the service

mvn spring-boot:run -Dspring-boot.run.arguments="--spring.profiles.active=dev"

Packaging jar file

mvn clean package

Run prod

mvn clean package
java -DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -XX:+UseSerialGC -XX:MaxRAMPercentage=75.0 -jar MotiClubs-Service.jar --spring.profiles.active=prod