Apr 22, 2024 Replies: 8 MinimaList API ServerVersion: 3.00 GitHub: https://github.com/pyhoon/minimalist-api-b4j Sample product: shao (micro-blogging web app) If you want to connect to an SQL database, see [Project Template] Pakai Server v5 Template: MinimaList API Server (3.00).b4xtemplate Depends on: EndsMeet.b4xlib (v1.40) WebApiUtils.b4xlib (v5.40) MinimaListUtils.b4xlib (v2.00) KeyValueStore (v2.31) Use [Tool] Additional Libraries Downloader to download the required libraries. Features: Similar to Pakai Server but use MinimaListUtils instead of MiniORMUtils library. MinimaList is a library for storing key-value pairs or Maps into a List. Meaning this API server does not connect to any SQL database. Optionally, MinimaList can be persisted using KeyValueStore library. Clients Build-in front-end client (web) Compatible with Web API Client (1.05).b4xtemplate (B4X UI apps) Code example: B4X: Private Sub GetCategory (id As Long) Dim M1 As Map = Main.CategoryList.Find(id) If M1.Size > 0 Then HRM.ResponseCode = 200 Else HRM.ResponseCode = 404 End If HRM.ResponseObject = M1 ReturnApiResponse End Sub Tutorials: Download File Example Vue 3 CRUD Example Using MinimaList Controller Using MinimaList Controller and Code Snippets Live:Creating Web API Server with B4X Template Spoiler: Part 1: Get Started and configure the server Spoiler: Part 2: Create a controller from scratch To seed dummy data in MinimaList API Server, browse to: http://127.0.0.1:19800/web/?seed=1 This project has been tested many many times. Please report bugs if you found any Post your question in a new thread. Attachments MinimaList API Server (2.08).b4xtemplate MinimaList API Server (2.08).b4xtemplate 442.2 KB · Views: 578 MinimaList API Server (2.40).b4xtemplate MinimaList API Server (2.40).b4xtemplate 428.7 KB · Views: 310 MinimaList API Server (3.00).b4xtemplate MinimaList API Server (3.00).b4xtemplate 430.2 KB · Views: 345 Last edited: Sep 24, 2025 Click to expand...
MinimaList API ServerVersion: 3.00 GitHub: https://github.com/pyhoon/minimalist-api-b4j Sample product: shao (micro-blogging web app) If you want to connect to an SQL database, see [Project Template] Pakai Server v5 Template: MinimaList API Server (3.00).b4xtemplate Depends on: EndsMeet.b4xlib (v1.40) WebApiUtils.b4xlib (v5.40) MinimaListUtils.b4xlib (v2.00) KeyValueStore (v2.31) Use [Tool] Additional Libraries Downloader to download the required libraries. Features: Similar to Pakai Server but use MinimaListUtils instead of MiniORMUtils library. MinimaList is a library for storing key-value pairs or Maps into a List. Meaning this API server does not connect to any SQL database. Optionally, MinimaList can be persisted using KeyValueStore library. Clients Build-in front-end client (web) Compatible with Web API Client (1.05).b4xtemplate (B4X UI apps) Code example: B4X: Private Sub GetCategory (id As Long) Dim M1 As Map = Main.CategoryList.Find(id) If M1.Size > 0 Then HRM.ResponseCode = 200 Else HRM.ResponseCode = 404 End If HRM.ResponseObject = M1 ReturnApiResponse End Sub Tutorials: Download File Example Vue 3 CRUD Example Using MinimaList Controller Using MinimaList Controller and Code Snippets Live:Creating Web API Server with B4X Template Spoiler: Part 1: Get Started and configure the server Spoiler: Part 2: Create a controller from scratch To seed dummy data in MinimaList API Server, browse to: http://127.0.0.1:19800/web/?seed=1 This project has been tested many many times. Please report bugs if you found any Post your question in a new thread.
aeric Expert Licensed User Longtime User Apr 22, 2024 #2 MinimaList API Server version: 2.06 beta 1 What's New (clean) Main module (new) ServerConfiguration class (update) Controller should be name in plural e.g. ProductsController. http://127.0.0.1:19800/web/api/v2/products (update) Controller use #name tag to overwrite the element in Api url e.g. http://127.0.0.1:19800/web/api/v2/product/1 (remove) HelpHandler #plural tag is now succeeded by #name tag Last edited: Apr 22, 2024
MinimaList API Server version: 2.06 beta 1 What's New (clean) Main module (new) ServerConfiguration class (update) Controller should be name in plural e.g. ProductsController. http://127.0.0.1:19800/web/api/v2/products (update) Controller use #name tag to overwrite the element in Api url e.g. http://127.0.0.1:19800/web/api/v2/product/1 (remove) HelpHandler #plural tag is now succeeded by #name tag
aeric Expert Licensed User Longtime User Apr 24, 2024 #3 MinimaList API Server version: 2.06 What's New (clean) Main module (new) ServerConfiguration class (update) Controller should be name in plural e.g. ProductsController. http://127.0.0.1:19800/web/api/v2/products (update) Controller use #name tag to overwrite the element in API url e.g. http://127.0.0.1:19800/web/api/v2/product/1 (remove) HelpHandler #plural tag is now succeeded by #name tag
MinimaList API Server version: 2.06 What's New (clean) Main module (new) ServerConfiguration class (update) Controller should be name in plural e.g. ProductsController. http://127.0.0.1:19800/web/api/v2/products (update) Controller use #name tag to overwrite the element in API url e.g. http://127.0.0.1:19800/web/api/v2/product/1 (remove) HelpHandler #plural tag is now succeeded by #name tag
aeric Expert Licensed User Longtime User Apr 29, 2024 #4 MinimaList API Server version: 2.07 What's New (new) WebApiUtils v2.07 (new) MinimaListUtils v1.03 (new) MinimaListController v1.07 (new) Main module SHOW_API_ICON to control API icon visible on frontend top navbar (new) ServerConfiguration class setEnableHelp to disable API Documentation and icon in frontend top navbar setSimpleResponse replaces 3 old variables (change) ServerConfiguration class rename some variables change some Public subs to Private (change) Some index.html files deleted
MinimaList API Server version: 2.07 What's New (new) WebApiUtils v2.07 (new) MinimaListUtils v1.03 (new) MinimaListController v1.07 (new) Main module SHOW_API_ICON to control API icon visible on frontend top navbar (new) ServerConfiguration class setEnableHelp to disable API Documentation and icon in frontend top navbar setSimpleResponse replaces 3 old variables (change) ServerConfiguration class rename some variables change some Public subs to Private (change) Some index.html files deleted
aeric Expert Licensed User Longtime User Oct 8, 2024 #5 MinimaList API Server version: 2.08 What's New (depends on) WebApiUtils v2.08 (depends on) MinimaListUtils v1.04
MinimaList API Server version: 2.08 What's New (depends on) WebApiUtils v2.08 (depends on) MinimaListUtils v1.04
aeric Expert Licensed User Longtime User Sep 19, 2025 #6 MinimaList API Server version: 3.00 beta1 Based on Pakai Server v5.30 Depends on: MinimaListUtils.b4xlib v2.00 WebApiUtils.b4xlib v5.30 KeyValueStore v2.31 EndsMeet v1.30 Seed data: http://127.0.0.1:8080/?seed=1 Attachments MinimaList API Server (3.00beta1).b4xtemplate MinimaList API Server (3.00beta1).b4xtemplate 430.1 KB · Views: 298 Last edited: Sep 24, 2025
MinimaList API Server version: 3.00 beta1 Based on Pakai Server v5.30 Depends on: MinimaListUtils.b4xlib v2.00 WebApiUtils.b4xlib v5.30 KeyValueStore v2.31 EndsMeet v1.30 Seed data: http://127.0.0.1:8080/?seed=1
aeric Expert Licensed User Longtime User Sep 19, 2025 #7 Previously, there is an example using Pakai Server v4 https://www.b4x.com/android/forum/threads/minimalist-api-server-v2-40.167223/ Update: The example in the above link is now updated as version 2.40 in the next post. Last edited: Sep 24, 2025
Previously, there is an example using Pakai Server v4 https://www.b4x.com/android/forum/threads/minimalist-api-server-v2-40.167223/ Update: The example in the above link is now updated as version 2.40 in the next post.
aeric Expert Licensed User Longtime User Sep 24, 2025 #8 MinimaList API Server version: 2.40 What's New Based on Pakai Server v4.00 Depends on: MinimaListUtils (1.80).b4xlib WebApiUtils (4.50).b4xlib KeyValueStore v2.31 jServer v4.02 Note: this version doesn't have the url for seeding data.
MinimaList API Server version: 2.40 What's New Based on Pakai Server v4.00 Depends on: MinimaListUtils (1.80).b4xlib WebApiUtils (4.50).b4xlib KeyValueStore v2.31 jServer v4.02 Note: this version doesn't have the url for seeding data.
aeric Expert Licensed User Longtime User Sep 24, 2025 #9 MinimaList API Server version: 3.00 Based on Pakai Server v5.40 Depends on: MinimaListUtils.b4xlib v2.00 WebApiUtils.b4xlib v5.40 KeyValueStore v2.31 EndsMeet v1.40
MinimaList API Server version: 3.00 Based on Pakai Server v5.40 Depends on: MinimaListUtils.b4xlib v2.00 WebApiUtils.b4xlib v5.40 KeyValueStore v2.31 EndsMeet v1.40