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
- Host: GitHub
- URL: https://github.com/h2owater425/miyako
- Owner: H2Owater425
- License: mit
- Created: 2024-03-06T06:01:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-15T19:17:58.000Z (9 months ago)
- Last Synced: 2025-03-03T17:49:21.455Z (3 months ago)
- Topics: framework, http, javascript, jsend, logger, nodejs, radix-tree, router, schema, typescript, validator
- Language: TypeScript
- Homepage: https://npm.im/miyako
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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