DEV Community

Cover image for Trysil - Multi-tenat API REST
David Lastrucci
David Lastrucci

Posted on

4

Trysil - Multi-tenat API REST

Run "Create new Trysil multi-tenant API REST" from the Trysil menu.
Create new Trysil multi-tenant API REST

Choose the folder, the name of the project, and whether to download the project template from HTTP (the template on the HTTP server is usually more up-to-date).
Project options

Enter the settings for your API REST: the base uri, the port, whether the API requires authentication, and whether it should write the HTTP traffic log to the database.
API REST options

If you have decided to write the HTTP traffic log to a database, you will be asked for the type of database (you can choose between Firebird, Microsoft SQL Server, PostgreSQL or SQLite) and all the other parameters for the connection.
Log database options

Enter the settings for the Windows service: the service name, name, and description that will appear in the list of services.
Service options

Now you need to enter the settings for the root tenant database (localhost) of your API REST.
Tenant database options

You're done, your API REST is ready.

Delphi project

Enjoy!

Use Trysil to draw the Entity Model, create the scripts for the database, create the model and controller classes of your new API REST.

To learn more about "Trysil - Delphi ORM" visit the link to the Github project:

https://github.com/davidlastrucci/trysil

Top comments (1)

Collapse
 
gioele_buonadonna profile image
Gioele Buonadonna

Perfetto e chiarissimo!

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay