Prologue is an elegant web framework written in Nim.
What's past is prologue.
Prologueis a powerful web framework written in Nim. It is ideal for building elegant and high performance web services.
Reduce magic. Reduce surprise.
Documentation | Index Page | |
Core API | Index Page | Search Page |
Full API | Index Page | Search Page |
Core
httpxand
asynchttpserver
Plugin
First you should install Nim language which is an elegant and high performance language. Follow the instructions and set environment variables correctly.
Then you can use
nimblecommand to install
prologue.
nimble install prologue
import prologueproc hello*(ctx: Context) {.async.} = resp "
Hello, Prologue!
"let app = newApp() app.get("/", hello) app.run()
Run app.nim (
nim c -r app.nim). Now the server is running at
localhost:8080.
If you need more extensions, you can refer to awesome prologue and awesome nim.
Thanks for supporting me!