Page 2 of 2

Re: PureBasic and REST APIs - A LIVE Working Example

Posted: Sat Dec 06, 2025 11:02 am
by jakobssystems
maybe you take a peek on my rest-api-skeleton

https://codeberg.org/tomas-jakobs/rest-api-skeleton

Features:
  • * Minimal Footprint, No Dependencies. Small single-file Executable. Ideal for low-end singleboard computers and large HiPerformance clusters aswell.
    * Highly modular. This skeleton is made as base-camp for further exploration. Add your functionality and create your web app with ease.
    * Hardcode avoided. Settings are configured in config file.
    * TLS 1.2 and 1.3 supported.
    * Multithreaded. Utilizing Job-Queue and Workerthreads.
    * Windows SCM Support for proper service control
    * Robust. Timeouts prevent hanging requests. Checks malformed header/body parts.
    * RFC-conform with proper 403, 408, 431, 411, 400, 500 etc. status codes.
    * Unicode- and threadsafe.
    * Logging in textfile. Can be turned off for max performance.
    * Swagger and custom HTTP routing ready (swagger.json in external file).
    * Basic-Auth. Credentials stored in config file.