New framework on Common Lisp for quick development web servers for API.
- woo - fast async web server on CommonLisp (based in libev)
- cl-async - library for work with async code
- alexandria - library with some sugar procedure
- bt-semaphore - library for work with threads
- jonathan - library for work (read) with JSON
- cl-ppcre - library for work with strings
Procedure for run HTTP server thread
(cse:application->start "http")
Procedure for kill HTTP server
(cse:application->kill "http")
Procedure for get list of server threads
(cse:application->get/threads)
Procedure for get application thread by thread name
(cse:application->get/thread-by-name "http")
Procedure for get info about all application threads
(cse:application->info/threads)
Procedure for get simple tree config from .json file
(cse:json-file->>tree "/example/file.json")
Procedure fro get routes map config from .json file
(cse:json-file->>routes-map "example/map.json")
Procedure for convert alist to JSON string
(cse:jsonify alist) - get JSON from alist
Procedure for get list with routes pairs (pattern & HashTable config).
(cse:routes-config->>routes-map tree-from-file)
Procedure get pair (url-pattern and config HashTable) from routes map
(cse:routes-map/find routes-map "/api/example")
Procedure for get config list from Woo server request env data
(cse:woo/env->>request woo-env-value)
Procedure for get valid answer on simple JSON format by SEON standard (based on JSON API).
Procedure for get valid error answer on simple JSON format by SEON standard (based on JSON API).
Procedure for get error 404.