seanmcapp
所属分类:PostgreSQL
开发工具:HTML
文件大小:1907KB
下载次数:0
上传日期:2023-04-18 10:20:23
上 传 者:
sh-1993
说明: 数据获取器、端点API和机器人服务器
(Data fetcher, endpoint API and bot-server)
文件列表:
.DS_Store (6148, 2023-04-18)
Dockerfile (373, 2023-04-18)
Procfile (61, 2023-04-18)
build.sbt (2543, 2023-04-18)
docker-compose.yml (632, 2023-04-18)
docker (0, 2023-04-18)
docker\db (0, 2023-04-18)
docker\db\backup.sql (185859, 2023-04-18)
docker\db\dockerfile (116, 2023-04-18)
docker\db\schema.sql (2475, 2023-04-18)
docker\storage (0, 2023-04-18)
docker\storage\seanmcapp (0, 2023-04-18)
docker\storage\seanmcapp\dummy_file (0, 2023-04-18)
project (0, 2023-04-18)
project\build.properties (19, 2023-04-18)
project\plugins.sbt (306, 2023-04-18)
src (0, 2023-04-18)
src\it (0, 2023-04-18)
src\it\resources (0, 2023-04-18)
src\it\resources\The International 2019.jpg (1234895, 2023-04-18)
src\it\scala (0, 2023-04-18)
src\it\scala\com (0, 2023-04-18)
src\it\scala\com\seanmcapp (0, 2023-04-18)
src\it\scala\com\seanmcapp\repository (0, 2023-04-18)
src\it\scala\com\seanmcapp\repository\AccountRepoSpec.scala (697, 2023-04-18)
src\it\scala\com\seanmcapp\repository\CacheRepoSpec.scala (2392, 2023-04-18)
src\it\scala\com\seanmcapp\repository\CustomerRepoSpec.scala (925, 2023-04-18)
src\it\scala\com\seanmcapp\repository\FileRepoSpec.scala (719, 2023-04-18)
src\it\scala\com\seanmcapp\repository\HeroAttributeRepoSpec.scala (1070, 2023-04-18)
src\it\scala\com\seanmcapp\repository\HeroRepoSpec.scala (905, 2023-04-18)
src\it\scala\com\seanmcapp\repository\PeopleRepoSpec.scala (614, 2023-04-18)
src\it\scala\com\seanmcapp\repository\PhotoRepoSpec.scala (1251, 2023-04-18)
src\it\scala\com\seanmcapp\repository\PlayerRepoSpec.scala (722, 2023-04-18)
... ...
# Seanmcapp
![Scala CI](https://github.com/bayusuryadana/seanmcapp/workflows/Scala%20CI/badge.svg?branch=master)
[![codecov](https://codecov.io/gh/bayusuryadana/seanmcapp/branch/master/graph/badge.svg)](https://codecov.io/gh/bayusuryadana/seanmcapp)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/c80ce1baef8543e***730e45b3cc6c02)](https://www.codacy.com/app/bayusuryadana/seanmcapp?utm_source=github.com&utm_medium=referral&utm_content=bayusuryadana/seanmcapp&utm_campaign=Badge_Grade)
## Feature
- API: telegram webhook
- Web: Dota & Wallet app
- Scheduler: AirVisual, Birthday, DotaMetadata, DsdaJakarta, Instagram, Instastory, News, Twitter
## Prerequisites
1. Scala & SBT (automatically installed if you use intellij IDEA)
2. Docker (optional: for IT testing or running in local)
## Infrastructure
1. Postgre SQL
2. Amazon S3 (using Minio for IT test)
## Contribute
### Compile
- `sbt clean compile` to clean all cache and compile the code
### Unit Test
- `sbt test` to run all the unit test
- `sbt "testOnly *ClassNameSpec"` (yes, with asterix character) run only particular test class
### Integration test
run `docker-compose up -d` for running necessary service dependencies
- `sbt it:test` to run all the IT test (all the test inside `it` folder)
- `sbt "it:testOnly *ClassNameSpec"` for run specific class integration tests
### Local run
run `sbt -Dconfig.resource=application-local.conf run`. It might not perfectly works since you don't have some of my credentials such as Instagram or Telegram account
### Remote debugging
run `sbt -jvm-debug 5005 run`
## Contact
feel free to contact me at bayusuryadana@gmail.com
happy coding ^^
近期下载者:
相关文件:
收藏者: