Skip to content

A Skeleton for FP Scala Microservices on the Typelevel Stack.

License

Notifications You must be signed in to change notification settings

blmeadows/skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Skeleton for FP Scala Microservices on the Typelevel Stack.

WARNING:

This is very much a work-in-progress and NOT yet ready to consume. The overall goal is to have a "real-world" project demonstrating the use of and interaction between various Typelevel projects, that is documented and easily consumable.

TODO:

  • add rho docs? or simple swagger docs
  • add more tests, of course
  • other middlewares
    • add Auth to routes
    • add CORS
    • add CSRF
    • add more to Metrics beyond default
    • add x-request-id middleware
  • add health checks support
  • add circuit breaking example
  • add kafka example
  • add error handling to routes
  • http4s headers
  • http4s cookies
  • http4s streaming bodies w/fs2
  • http4s /: route (arbitrary depth)
  • http4s path parameters
  • http4s query parameters
  • add redis example
  • add at least one more db migration
  • add docs for site in docs/
  • scala.js?
  • add pagination
  • review scalafmt.conf

To run from scratch

(NEED TO TEST THIS IN CLEAN ENVIRONMENT TO DOUBLE CHECK)

curl commands examples

(expand and refine this later)

checking local database:

(expand and refine this later)

  • psql postgres (or double click in Postgres App)
  • list tables: \dt
  • SELECT * FROM users WHERE username='britany123';
  • SELECT username FROM users;
  • etc.

Typelevel projects that have a channel in discord:

  • cats
  • cats-effect
  • cats-stm
  • davenverse
  • doobie
  • finch
  • fs2
  • frameless
  • fs2-grpc
  • http4s
  • jawn
  • monix
  • natchez
  • scodec
  • shapeless
  • skunk
  • scalacheck
  • kittens

About

A Skeleton for FP Scala Microservices on the Typelevel Stack.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages