Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.28 KB

README_EN.md

File metadata and controls

37 lines (28 loc) · 1.28 KB

zim

Build codecov

zim is a functional-style, asynchronous and streaming IM based on scala, zio, tapir, akka-http, circe, scalikejdbc and redis.

If you are interested, you can pay attention to it and develop it together.

Environment

  • exec ./prepare.sh, and modify src/main/resources/application.conf, replace database by yours.
  • create a database named zim. You should pay attention to the driver version.
  • use resources/sql/schema.sql to init db schema.
  • useresources/sql/data.sql to init db data.(Optional)
  • run ZimServer.scala#run.

Where to start

  • swagger-ui doc API: http://localhost:9000/api/v1.0/docs
  • heartbeat API: http://localhost:9000/api/v1.0/health

Technology stack

  • Language:Scala 2.13.7
  • Platform:Jvm (Jdk8、Jdk11)
  • Frontend:LayIm 3.0
  • Core:zio 1.x
  • API:akka-http (classic)
  • API Doc:tapir
  • Database:redis、mysql
  • Database jdbc:scalikejdbc-stream
  • Serialize:circe
  • WebSocket:akka-http (classic)
  • Mail:simple-java-mail
  • Conf:config
  • Build:sbt