Version: 2.08
Description: Build REST API Server with MinimaList using B4X project template
Sample project: shao (micro-blogging web app)
If you want to connect to an SQL database, see Web API Server 2
Template:
Tutorials:
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.
Description: Build REST API Server with MinimaList using B4X project template
Sample project: shao (micro-blogging web app)
If you want to connect to an SQL database, see Web API Server 2
Template:
- MinimaList API Server (2.08).b4xtemplate
- WebApiUtils.b4xlib
- MinimaListUtils.b4xlib (B4X library)
- MinimaListController.jar and MinimaListController.xml
- https://github.com/pyhoon/minimalist-api-b4j
- https://github.com/pyhoon/WebApiUtils-B4J
- https://github.com/pyhoon/MinimaListUtils-B4X
- https://github.com/pyhoon/MinimaListController-B4J
- Similar to Web API Server 2 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)
' #Version = v2
' #Desc = Read one Category by id
' #Elements = [":id"]
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
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: