Version: 3.00
Build REST API Server with MinimaList using B4X project template
Depends on following libraries:
- EndsMeet.b4xlib
- WebApiUtils.b4xlib
- MinimaListUtils.b4xlib
- KeyValueStore
- Similar to Pakai Server but use MinimaListUtils instead of MiniORMUtils library.
- MinimaList is a library for storing key-value pairs or Map into List.
- This API server can run without an 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)
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 SubTo seed dummy data in MinimaList API Server, browse to: http://127.0.0.1:8080/?seed=1
Support this project
