https://github.com/liascode/cristalyx
Cristalyx es una pequeña librería para crear servidores http eficientes y sencillos.
https://github.com/liascode/cristalyx
express-like hono http-server node routers typescript
Last synced: 2 months ago
JSON representation
Cristalyx es una pequeña librería para crear servidores http eficientes y sencillos.
- Host: GitHub
- URL: https://github.com/liascode/cristalyx
- Owner: LiasCode
- License: gpl-3.0
- Created: 2022-10-14T18:23:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-20T02:24:48.000Z (about 1 year ago)
- Last Synced: 2025-01-20T02:25:10.764Z (about 1 year ago)
- Topics: express-like, hono, http-server, node, routers, typescript
- Language: TypeScript
- Homepage:
- Size: 657 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Cristalyx
`Cristalyx` is a small library for creating efficient and simple HTTP servers.
##### DISCLAIMER
> - This library is solely for the purpose of studying and delving into the operation of web server frameworks.
> - It is not intended as a substitute for, and even less for use in, production.
> - The features, functionalities, and API design may change freely and without backward compatibility.
> - Functionalities will be added gradually, always with the goal of maintaining a simple API and preserving performance.
#### Goals:
- Simple API similar to Express
- Fully typed with `Typescript`
- Allow selection between different router types, such as `TreeRouter` and `LinearRouter`
- Add functionalities while maintaining performance
#### Development Roadmap
- [X] Implement `TreeRouter`
- [X] Implement `LinearRouter`
- [ ] Modular router
- [ ] Integrate a schema validator for requests
- [ ] Integrate middleware for serving static files
- [ ] Integrate middleware for file uploads
- [ ] Add testing
##### Inspirations:
- [`Express`](https://expressjs.com/)
- [`Hono`](https://hono.dev/)