Skip to content
Proyek

Tentang

Build composable, type-safe HTTP API servers.

Pengembangan web dan aplikasi

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
0

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

WebGear - Build HTTP APIs


  • webgear-core - Hackage
  • webgear-server - Hackage
  • webgear-swagger - Hackage
  • webgear-swagger-ui - Hackage
  • webgear-openapi - Hackage

Build Status


WebGear is a Haskell library for building composable, type-safe HTTP APIs.

This is the main repository of WebGear project. It contains multiple packages:

  • webgear-core: The core library.
  • webgear-server: Serve WebGear applications using wai and warp.
  • webgear-swagger: Generate Swagger 2.0 specifications from WebGear specifications.
  • webgear-swagger-ui: Server to host swagger UI based on WebGear APIs.
  • webgear-openapi: Generate OpenAPI specifications from WebGear specifications.

Examples of WebGear applications can be found at:

Documentation is available at https://haskell-webgear.github.io

Development

Use Nix to start a reproducible development environment:

nix develop

This starts a shell with the default GHC. You can also use a specific GHC version with:

nix develop .#webgear-dev-ghc<GHC-VERSION>

You can use the standard cabal commands in the development shell.

You can build packages using Nix:

nix build \
  .#webgear-core-ghc<GHC-VERSION> \
  .#webgear-server-ghc<GHC-VERSION> \
  .#webgear-swagger-ghc<GHC-VERSION> \
  .#webgear-swagger-ui-ghc<GHC-VERSION> \
  .#webgear-openapi-ghc<GHC-VERSION>

Jelajahi proyek terkait

Memuat…