Schema-less persistence for Smalltalk with support for multiple
backends.
RESTful APIs with Mapless and Teapot
Install Teapot
A RESTful API needs an HTTP so let’s install Teapot as it’s very comfortable to use in .
Pharo Playground
Configure the server
Pharo Playground
Give structure to your API
Lets say we’re going to implement one endpoint for Tweet objects in a SimpleTwitter backend. With this /tweets endpoint, we’re going to be able to do CRUD operations following the RESTful system.
Pharo Playground
Setup routes
We need to implement the CRUD operations in their respective routes.