webgear
所属分类:Web服务器
开发工具:Haskell
文件大小:0KB
下载次数:0
上传日期:2023-12-30 15:36:17
上 传 者:
sh-1993
说明: 构建可组合的类型安全HTTP API服务器。
(Build composable, type-safe HTTP API servers.)
文件列表:
nix/
scripts/
webgear-benchmarks/
webgear-core/
webgear-example-realworld/
webgear-example-users/
webgear-openapi/
webgear-server/
webgear-swagger-ui/
webgear-swagger/
.hlint.yaml
LICENSE
cabal.project
flake.lock
flake.nix
fourmolu.yaml
hie.yaml
stack-8.10.7.yaml
stack-8.10.7.yaml.lock
stack-9.0.2.yaml
stack-9.0.2.yaml.lock
stack-9.2.8.yaml
stack-9.2.8.yaml.lock
stack-9.4.7.yaml
stack-9.4.7.yaml.lock
stack-9.6.3.yaml
stack-9.6.3.yaml.lock
# WebGear - Build HTTP APIs
-------------------------------------------------------------------------------
* webgear-core - [![Hackage](https://img.shields.io/hackage/v/webgear-core)](https://hackage.haskell.org/package/webgear-core)
* webgear-server - [![Hackage](https://img.shields.io/hackage/v/webgear-server)](https://hackage.haskell.org/package/webgear-server)
* webgear-swagger - [![Hackage](https://img.shields.io/hackage/v/webgear-swagger)](https://hackage.haskell.org/package/webgear-swagger)
* webgear-swagger-ui - [![Hackage](https://img.shields.io/hackage/v/webgear-swagger-ui)](https://hackage.haskell.org/package/webgear-swagger-ui)
* webgear-openapi - [![Hackage](https://img.shields.io/hackage/v/webgear-openapi)](https://hackage.haskell.org/package/webgear-openapi)
[![Build Status](https://img.shields.io/github/actions/workflow/status/haskell-webgear/webgear/ci.yaml?branch=main)](https://github.com/haskell-webgear/webgear/actions/workflows/ci.yaml)
-------------------------------------------------------------------------------
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:
- https://github.com/haskell-webgear/webgear/webgear-example-users
- https://github.com/haskell-webgear/webgear/webgear-example-realworld
Documentation is available at https://haskell-webgear.github.io
## Development
Use Nix to start a reproducible development environment:
```shell
nix develop
```
This starts a shell with the default GHC. You can also use a specific GHC version with:
```shell
nix develop .#webgear-dev-ghc
```
You can use the standard cabal commands in the development shell.
You can build packages using Nix:
```shell
nix build \
.#webgear-core-ghc \
.#webgear-server-ghc \
.#webgear-swagger-ghc \
.#webgear-swagger-ui-ghc \
.#webgear-openapi-ghc
```
近期下载者:
相关文件:
收藏者: