@blobbybilb/f4
v0.1.1
Published
F4 - The Fast Friendly Functionality Framework. The simplest fairly-featureful web framework, with a no-config TypeScript SQLite interface, simple router based on Hono,
Downloads
2
Maintainers
Readme
F4 - The Fast Friendly Functionality Framework
The simplest fairly-featureful web framework. Currently works with the bun runtime only.
Frictionless & Full-stack
- Simple layer for routing over Hono
let i = 0
server.addRoutes({
'/': 'Hello There!',
'/counter': () => 'Visited ' + (i++) + ' times',
'/file': 'file://./some_file.txt',
})
- User auth in a single line of code
server.auth('/admin', [{ user: 'admin', pass: 'password' }]) // specify a single user
server.auth('/app', usersDB.get({})) // get all users from DB
- DB interface that uses TypeScript object types to automatically manage SQLite, no SQL or manual schema definition needed
- Frontend UI helpers based on Boostrap - WIP
LICENSE
LGPLv3
Hono web framework is MIT Licensed.