Miscellaneous
HappyX is a web framework with asynchronous, macro-oriented, full stack support.
In HappyX you can write single page
, static site generation
and server side rendering
applications π‘
You can write Rest API with HappyX also π
HappyX is very simple to use. Keep your peace of mind π
Jester and Karax have many features, but Jester is a backend web framework
, and Karax is a frontend web framework
. HappyX is a full-stack web framework
that combines the features of Jester and Karax and slightly improves them π
With HappyX you mustn't learn new libraries/frameworks to switch between frontend
and backend
. You can switch between them easily using HappyX β
HappyX is macro-oriented web framework so you mustn't write a lot of code β¨
asynchttpserver
as default HTTP server (httpx
via -d:happyxHttpx
, httpbeast
via -d:happyxBeast
and microhttpserver
via -d:happyxMicro
as alternative HTTP servers).SPA
on JS
backend and SSR
on other backends.buildHtml
, buildStyle
and buildJs
macros.JSON
/XML
/Form-Data
/x-www-form-urlencoded
with model
macro.pathParams
macro.mount
macro.-d:debug
.-d:hpxTranslate
or -d:translate
flags.creating
, serving
and building
your projects.SPA
projects as of now).SPA | SSR |
|
|
nimble install happyx@#head
nimble install https://github.com/HapticX/happyx
pip install happyx
hpx create --name ssr_project --kind SSR
cd ssr_project/src
Main script will be able in /ssr_project/src/main.nim
HTTP Server | Flag |
---|---|
Default | no flags |
Httpx | -d:httpx |
MicroAsyncHttpServer | -d:micro |
HttpBeast | -d:beast |
hpx create --name spa_project --kind SPA --path-params
cd spa_project
Main script will be able in /spa_project/src/main.nim
Just run this command and see magic β¨
hpx dev --reload
Open issue or contact us hapticx.company@gmail.com
See Contributing.md for more information