bayusuryadana / seanmcapp

Data fetcher, endpoint API and bot-server

Home Page:https://seanmcapp.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Seanmcapp

Scala CI codecov Codacy Badge

Feature

  • API: telegram webhook
  • Web: Mamen, Dota, Wallet app
  • Scheduler: Birthday, DotaMetadata, News, (broken: Instagram, Instastory, 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 ^^

About

Data fetcher, endpoint API and bot-server

https://seanmcapp.herokuapp.com


Languages

Language:HTML 79.5%Language:CSS 10.4%Language:Scala 9.7%Language:JavaScript 0.4%Language:Dockerfile 0.0%Language:Procfile 0.0%