An open API service indexing awesome lists of open source software.

https://github.com/h2owater425/miyako

Simple api framework
https://github.com/h2owater425/miyako

framework http javascript jsend logger nodejs radix-tree router schema typescript validator

Last synced: 2 months ago
JSON representation

Simple api framework

Awesome Lists containing this project

README

        

# Miyako

Simple api framework

## Constant
- Schema types
- NUMBER
- STRING
- BOOLEAN
- NULL
- OBJECT
- ARRAY
- AND
- OR
- NOT

## Validator
- Custom json schema

## Logger
- Level
- fatal
- error
- warn
- info
- debug
- trace

## Error
- Validation error
- Http status code errors
- 400
- 401
- 403
- 404
- 405
- 409
- 415
- 418
- 429
- 500
- 501

## Router
- Radix tree based
- Static path caching

## Server
- Http methods
- POST
- GET
- PATCH
- DELETE
- Jsend formatting
- Nginx-style logging