- Notifications
You must be signed in to change notification settings - Fork6
A repository to host examples for Prologue framework written in Nim language.
License
NotificationsYou must be signed in to change notification settings
planety/prologue-examples
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A repository to host examples forPrologue framework.
You can install Prologue via Nimble:nimble install prologue
(ornimble install prologue@#head
if you want to get the latest version).
Simply callnim 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.
- default settings:http_server
- custom settings:http_server_custom_settings
- .env settings:http_server_dotenv
- basic conf:basic_conf
- static dir:http_static_server
- django-like structure:basic
- websocket:websocket
- route basic example:route_basic
- basic structures:basic_structure
- anonymous handlers:anon_handler
- request methods:request
- URL parameters:url_param
- URL queries:url_query
- URL with Regex:regex_url
- routes with DSL:dsl_routes
- group routes:group_routes
- nesting routes:nesting
- nesting routes with
with
macro:nesting_with
- response basic example:response
- setting headers:headers
- templating with Karax DSL:karax_template
- templating with nimWebTemplates (NWT):nwt_template
- middleware basic example:middleware_basic
- before and after context switch:middleware_before_after
- CSRF:csrf
- CORS:cors
- session with signed cookie:signed_cookie_session
- memory session:memory_session
- redis session:redis_session
- basic auth:basic_auth
- basic cookies example:basic_cookies
- Basic CRUD example with native sqlite:basic_crud
- CRUD with
allographer
lib:allographer_crud
- Hello world:helloworld
- Blog app:blog
- ToDo app:todoapp
cors
is WIPnorm_crud
is WIP
Innokentiy Sokolov, Zeshen Xing, Xie Yanbo
About
A repository to host examples for Prologue framework written in Nim language.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Contributors5
Uh oh!
There was an error while loading.Please reload this page.