haskyapi: HTTP server

[ deprecated, library, mit, program, web ] [ Propose Tags ]
Deprecated

Please see the README on Github at https://github.com/okue/haskyapi#readme


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.0.1, 0.0.0.2
Dependencies aeson, base (>=4.7 && <5), blaze-html, bytestring, containers, directory, haskyapi, http-conduit, markdown, mtl, network, parsec, persistent, persistent-sqlite, persistent-template, split, tagsoup, text, time, utf8-string [details]
License MIT
Copyright 2017 okue
Author okue
Maintainer example@example.com
Category Web
Home page https://github.com/okue/haskyapi#readme
Bug tracker https://github.com/okue/haskyapi/issues
Source repo head: git clone https://github.com/okue/haskyapi
Uploaded by okue at 2018-02-04T04:18:54Z
Distributions
Executables haskyapi
Downloads 1281 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-02-04 [all 1 reports]

Readme for haskyapi-0.0.0.1

[back to package description]

Build Status

What is Haskyapi?

Haskyapi is a HTTP server implemented in Haskell.

Build

$ stack build
$ stack install
$ haskyapi migrate
$ haskyapi runserver -p 8080 -r .
root: .
listen on 8080
http://localhost:8080/
http://localhost:8080/index.html
http://localhost:8080/hoge.md

or

$ cabal build

Options

  • -p, --port : port number
  • -r, --root : root directory
  • -h, --help : help

setting.yml is a configuration file for these options.

TODO

  • Open Markdown file
  • Use Database easily
  • Implement RESTful api easily
  • Automatic generator of api reference document
  • HTTPS

Bash-completion

.haskyapi.bash is a bash-completion setting file for haskyapi command.

Now

Haskyapi works at okue.site:80