Skip to content

ty-ras/server

Folders and files

NameName
Last commit message
Last commit date
Aug 2, 2023
Feb 14, 2024
Jan 20, 2024
May 23, 2023
Jan 20, 2024
Feb 13, 2024
Jan 20, 2024
Jan 20, 2024
Jul 28, 2023
Sep 26, 2022
May 23, 2023
May 24, 2023
May 23, 2023
Oct 2, 2022
Sep 26, 2022
Sep 26, 2022
Aug 2, 2023
Oct 2, 2022
Oct 12, 2022
Jul 27, 2023
May 23, 2023
Oct 15, 2022

Repository files navigation

Typesafe REST API Specification - HTTP Server Related Generic Libraries

CI Pipeline CD Pipeline

The Typesafe REST API Specification is a family of libraries used to enable seamless development of Backend and/or Frontend which communicate via HTTP protocol. The protocol specification is checked both at compile-time and run-time to verify that communication indeed adhers to the protocol. This all is done in such way that it does not make development tedious or boring, but instead robust and fun!

This particular repository contains generic HTTP server related libraries, and is designed to be consumed by other TyRAS libraries:

  • endpoint library exposes AppEndpoint interface to represent an endpoint in HTTP REST API to be handled by HTTP server,
  • endpoint-spec library adds typesafe and easy-to-use builder functionality to holistically construct REST API by defining AppEndpoints using TS5/ES decorators,
  • server library adds some common concepts to be used by various TyRAS libaries implementing serving AppEndpoints utilizing some specific HTTP server,
  • server-test-support library adds common test suite to be run by TyRAS libraries adding AppEndpoint support to various HTTP server frameworks, and
  • state library defines aspects of generic state concept, which should suffice the vast majority of user code using the state concept.