{"id":13458156,"url":"https://github.com/planety/prologue-examples","last_synced_at":"2026-03-08T12:36:34.732Z","repository":{"id":50370738,"uuid":"296003546","full_name":"planety/prologue-examples","owner":"planety","description":"A repository to host examples for Prologue framework written in Nim language.","archived":false,"fork":false,"pushed_at":"2023-03-19T07:06:30.000Z","size":1837,"stargazers_count":33,"open_issues_count":1,"forks_count":6,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-28T12:39:32.381Z","etag":null,"topics":["async","async-web-applications","full-stack-web-development","fullstack-development","http-framework","http-server","jester","karax","nim","nimlang","prologue","prologue-framework","web-framework","webapp-example","webapp-framework","webdev","webdevelopment","webframework"],"latest_commit_sha":null,"homepage":"","language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/planety.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-09-16T10:46:26.000Z","updated_at":"2025-01-02T19:10:20.000Z","dependencies_parsed_at":"2024-01-15T09:02:08.893Z","dependency_job_id":"71f219a6-0c78-4249-b1e5-d595262c7fc5","html_url":"https://github.com/planety/prologue-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/planety%2Fprologue-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/planety%2Fprologue-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/planety%2Fprologue-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/planety%2Fprologue-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/planety","download_url":"https://codeload.github.com/planety/prologue-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242144424,"owners_count":20078964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","async-web-applications","full-stack-web-development","fullstack-development","http-framework","http-server","jester","karax","nim","nimlang","prologue","prologue-framework","web-framework","webapp-example","webapp-framework","webdev","webdevelopment","webframework"],"created_at":"2024-07-31T09:00:45.701Z","updated_at":"2026-03-08T12:36:34.706Z","avatar_url":"https://github.com/planety.png","language":"Nim","readme":"# Prologue framework examples repository\nA repository to host examples for [Prologue](https://github.com/planety/prologue) framework.\n\n⚠️ These examples are under development and may change in the future.\n\n## Prerequisites\n- Installed [Nim](https://nim-lang.org/) compiler (v1.4.0 or above)\n- Installed [Prologue](https://github.com/planety/prologue) framework (v.0.4.0 or above)\n\nYou can install Prologue via Nimble: `nimble install prologue` (or `nimble install prologue@#head` if you want to get the latest version).\n\n## Compile and run examples\nSimply call `nim compile --run app.nim` inside of particular example directory and access 127.0.0.1:8080 URL in your browser.\nSome examples might have different port number.\n\n## HTTP server\n- default settings: [http_server](http_server)\n- custom settings: [http_server_custom_settings](http_server_custom_settings)\n- .env settings: [http_server_dotenv](http_server_dotenv)\n- basic conf: [basic_conf](basic_conf)\n- static dir: [http_static_server](http_static_server)\n- django-like structure: [basic](basic)\n- websocket: [websocket](websocket)\n\n## Requests\n- route basic example: [route_basic](route_basic)\n- basic structures: [basic_structure](basic_structure)\n- anonymous handlers: [anon_handler](anon_handler)\n- request methods: [request](request)\n- URL parameters: [url_param](url_param)\n- URL queries: [url_query](url_query)\n- URL with Regex: [regex_url](regex_url)\n- routes with DSL: [dsl_routes](dsl_routes)\n- group routes: [group_routes](group_routes)\n- nesting routes: [nesting](nesting)\n- nesting routes with `with` macro: [nesting_with](nesting_with)\n\n## Responses\n- response basic example: [response](response)\n- setting headers: [headers](headers)\n- templating with Karax DSL: [karax_template](karax_template)\n- templating with nimWebTemplates (NWT): [nwt_template](nwt_template)\n\n## Middleware\n- middleware basic example: [middleware_basic](middleware_basic)\n- before and after context switch: [middleware_before_after](middleware_before_after)\n- CSRF: [csrf](csrf)\n- CORS: [cors](cors)\n- session with signed cookie: [signed_cookie_session](signed_cookie_session)\n- memory session: [memory_session](memory_session)\n- redis session: [redis_session](redis_session)\n- basic auth: [basic_auth](basic_auth)\n\n## Cookies\n- basic cookies example: [basic_cookies](basic_cookies)\n\n## Database\n- Basic CRUD example with native sqlite: [basic_crud](basic_crud)\n- CRUD with `allographer` lib: [allographer_crud](allographer_crud)\n\n## Sample Apps\n- Hello world: [helloworld](helloworld)\n- Blog app: [blog](blog)\n- ToDo app: [todoapp](todoapp)\n\n## TODO\n- `cors` is WIP\n- `norm_crud` is WIP\n\n## Authors\nInnokentiy Sokolov, Zeshen Xing, Xie Yanbo\n","funding_links":[],"categories":["Documentation"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplanety%2Fprologue-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplanety%2Fprologue-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplanety%2Fprologue-examples/lists"}