Skip to content

zynque/scala.js-zio-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scala.js-zio-server

A starter project containing an http server back-end and scala.js front-end leveraging zio, fs2, and http4s, running on Scala 3.

Getting Started

Prerequisites

Install jvm (I use: https://www.azul.com/downloads/zulu-community/?package=jdk)

Install sbt (https://www.scala-sbt.org/download.html)

Run tests (scala.js and jvm)

sbt test

Build and run

Build the javascript

sbt fastLinkJS

Run the server:

sbt exampleJVM/run

Open page in a browser:

http://localhost:8080/index.html

Or open individual routes:

http://localhost:8080/test/ping
http://localhost:8080/todo

About

Starter project based on scala.js, zio, and http4s

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages