scalest / Scalest

Scalest is Productivity-oriented Scala Web framework
MIT License
14 stars 1 forks source link
admin-panel akka akka-http distage magnolia productivity-tool scala scalatags web-framework

Result image Build Status

Description

Scalest is a set of helpful features for Akka. The main one of them is the admin panel which is an aggregator of all other features. In future there will be healthchecks, more CMS-like features, swagger, cors stuff and much more. The main thing Scalest makes easier is fast creation of any type of application. For example the admin panel can be very helpful for developing chatbots, as a tool for the support team or for the developers themselves.

To start using Scalest add this to build.sbt:

resolvers += Resolver.sonatypeRepo("snapshots")
lazy val scalestV: String = "0.0.2-SNAPSHOT"
libraryDependencies ++= {
  Seq(
    "io.github.0lejk4" %% "scalest-core" % scalestV, // core,
    "io.github.0lejk4" %% "scalest-admin" % scalestV, // generic admin panel
    "io.github.0lejk4" %% "scalest-admin-slick" % scalestV, // slick concrete admin panel
  )
}

Admin panel preview

You only need to provide CRUD repository, provide entity scheme to ModelAdmin(or it will be generated automatically) and mount adminExtension route in your Akka application, for example like this:

val routes = AdminExtension(ModelAdmin(crudRepository)).route

You can find full example in here if you run it you will see such admin panel: Models list

Contribution

You can easily create Backend implementation for your language. For more details contact me.

Modules