planety / prologue-examples

A repository to host examples for Prologue framework written in Nim language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A repository to host examples for Prologue framework written in Nim language.

License:Apache License 2.0


Languages

Language:Nim 96.3%Language:CSS 2.2%Language:HTML 1.1%Language:Shell 0.5%