MinimaList API Server
Version: 3.00GitHub: 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
- EndsMeet.b4xlib (v1.40)
- WebApiUtils.b4xlib (v5.40)
- MinimaListUtils.b4xlib (v2.00)
- KeyValueStore (v2.31)
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)
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:
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
Last edited: