add sub routes to backend app
in the shape of websocket and post \ get with receiving of some request model
This commit is contained in:
14
build.sbt
14
build.sbt
@@ -35,6 +35,9 @@ lazy val frontend = project
|
||||
)
|
||||
.dependsOn(common)
|
||||
|
||||
val circeVersion = "0.14.1"
|
||||
val http4sVersion = "1.0.0-M39"
|
||||
|
||||
lazy val backend = project
|
||||
.in(file("backend"))
|
||||
.settings(
|
||||
@@ -42,16 +45,21 @@ lazy val backend = project
|
||||
libraryDependencies ++= Seq(
|
||||
"org.http4s" %% "http4s-ember-client" % http4sVersion,
|
||||
"org.http4s" %% "http4s-ember-server" % http4sVersion,
|
||||
"org.http4s" %% "http4s-dsl" % http4sVersion
|
||||
"org.http4s" %% "http4s-dsl" % http4sVersion,
|
||||
"org.http4s" %% "http4s-circe" % http4sVersion
|
||||
),
|
||||
// available for 2.12, 2.13, 3.2
|
||||
libraryDependencies += "co.fs2" %% "fs2-core" % "3.6.1",
|
||||
libraryDependencies += "org.typelevel" %% "cats-core" % "2.9.0",
|
||||
libraryDependencies += "org.typelevel" %% "cats-effect" % "3.4.9"
|
||||
libraryDependencies += "org.typelevel" %% "cats-effect" % "3.4.9",
|
||||
libraryDependencies ++= Seq(
|
||||
"io.circe" %% "circe-core",
|
||||
"io.circe" %% "circe-generic",
|
||||
"io.circe" %% "circe-parser"
|
||||
).map(_ % circeVersion)
|
||||
)
|
||||
.dependsOn(common)
|
||||
|
||||
val http4sVersion = "1.0.0-M39"
|
||||
lazy val common = project
|
||||
.in(file("common"))
|
||||
.settings(
|
||||
|
||||
Reference in New Issue
Block a user