# backend
**Repository Path**: hangqili/backend
## Basic Information
- **Project Name**: backend
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-09-20
- **Last Updated**: 2021-09-20
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Penguin Statistics!
[](https://github.com/penguin-statistics/backend/blob/master/LICENSE)
[](https://travis-ci.org/penguin-statistics/backend)
[](https://github.com/penguin-statistics/backend/commits/dev)
[](https://developer.penguin-stats.io)
This is the **backend** project repository for the [Penguin Statistics](https://penguin-stats.io/?utm_source=github) website.
## Technologies
- [Maven](https://maven.apache.org/)
- [Spring Boot 2.1.6](https://spring.io/projects/spring-boot)
- [MongoDB](https://www.mongodb.com/)
## Maintainers
This frontend project has mainly being maintained by the following contributors (in alphabetical order):
- [AlvISsReimu](https://github.com/AlvISsReimu)
- [ChaosNiku](https://github.com/ChaosNiku)
- [YukiC](https://github.com/cyj5230)
> The full list of active contributors of the *Penguin Statistics* project can be found at the [Team Members page](https://penguin-stats.io/about/members) of the website.
## How to contribute?
Our contribute guideline can be found at [Penguin Developers](https://developer.penguin-stats.io). PRs are always more than welcome!
## API docs
- [Introductions to API v2](https://developer.penguin-stats.io/docs/)
- [Swagger API docs](https://penguin-stats.io/PenguinStats/swagger/swagger-ui.html)
# Deployment
## Preparations
1. Install Maven
2. Install [Lombok](https://projectlombok.org/) plugin for your IDE
3. (Optional) Install MongoDB
4. (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: -d penguin_stats
```
5. Edit `src/main/resources/application.yml`,change the value of `username` and `password` in `spring.data.mongodb.uri` according to your settings.
## Run
1. Execute `mvn spring-boot:run` in the root directory of this project. Or run the main method in `PenguinStatisticsApplication` class.
2. If you see "PenguinStats is running" in the console, congrats!
## Build
Execute `mvn clean package`, then deploy `target/PenguinStats.war` to the server.