backend
backend copied to clipboard
Penguin Statistics backend.
trafficstars

Penguin Statistics!
This is the backend project repository for the Penguin Statistics website.
This repository will not be maintained any more. Please visit the repository of the latest version from here.
Technologies
Maintainers
This frontend project has mainly being maintained by the following contributors (in alphabetical order):
The full list of active contributors of the Penguin Statistics project can be found at the Team Members page of the website.
How to contribute?
Our contribute guideline can be found at Penguin Developers. PRs are always more than welcome!
API docs
Deployment
Preparations
- Install Maven
- Install Lombok plugin for your IDE
- (Optional) Install MongoDB
- (Optional) If you choose to run MongoDB locally, feel free to contact our team for the dumped testing file, execute the following command to import them:
mongorestore -h localhost:<your mongodb port> -d penguin_stats <path of penguin_stats directory>
- Edit
src/main/resources/application.yml,change the value ofusernameandpasswordinspring.data.mongodb.uriaccording to your settings.
Run
- Execute
mvn spring-boot:runin the root directory of this project. Or run the main method inPenguinStatisticsApplicationclass. - If you see "PenguinStats is running" in the console, congrats!
Build
Execute mvn clean package, then deploy target/PenguinStats.war to the server.