Skip to content

CC-MNNIT/MotiClubs-Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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