Skip to content

planety/prologue-examples

Repository files navigation

Prologue framework examples repository

A repository to host examples for Prologue framework.

⚠️ These examples are under development and may change in the future.

Prerequisites

  • Installed Nim compiler (v1.4.0 or above)
  • Installed Prologue framework (v.0.4.0 or above)

You can install Prologue via Nimble: nimble install prologue (or nimble install prologue@#head if you want to get the latest version).

Compile and run examples

Simply call nim compile --run app.nim inside of particular example directory and access 127.0.0.1:8080 URL in your browser. Some examples might have different port number.

HTTP server

Requests

Responses

Middleware

Cookies

Database

Sample Apps

TODO

  • cors is WIP
  • norm_crud is WIP

Authors

Innokentiy Sokolov, Zeshen Xing, Xie Yanbo