A Giter8 template for creating a web application based upon several libraries from the Scala ecosystem. The template provides a basic application structure with a database table for user accounts and routing for setting up an administrator account.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Jens Grassel 2753cb0a40 Merge pull request 'Update scalacheck to 1.15.4 and scalatest to 3.2.9' (#17) from jan0sch/http4s-app.g8:updates/scalacheck-1.15.4 into main 1 month ago
project Prepare overhault 2 months ago
src/main/g8 Update scalacheck to 1.15.4 and scalatest to 3.2.9 1 month ago
.gitignore Fix code for updated tapir 9 months ago
LICENSE Initial Commit 12 months ago
README.md Updated README.md 12 months ago
build.sbt Update SBT to 1.5.2 4 months ago

README.md

http4s web app template

A Giter8 template for creating a web application based upon several libraries from the Scala ecosystem:

  • cats
  • cats-effect
  • circe
  • doobie
  • enumeratum
  • fs2
  • http4s
  • pureconfig
  • refined
  • tapir

The template provides a basic application structure with a database table for user accounts and routing for setting up an administrator account. It uses the twirl templating engine and adds bootstrap and jquery via webjars as dependencies to allow more sophisticated theming options.

This template is intended as a basis for a web application which includes things like login, logout, administration and serving web pages. If you intend to just provide a service (e.g. HTTP API using JSON) then this is very likely too heavy.

Usage

Just use the new command of sbt like this:

% sbt new https://codeberg.org/wegtam/http4s-app.g8.git

Template license

Written in 2020 by Wegtam GmbH

To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this template to the public domain worldwide. This template is distributed without any warranty.

See http://creativecommons.org/publicdomain/zero/1.0/.