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

Google AI Education track image

Work through these 3 parts to earn the exclusive Google AI Studio Builder badge!

This track will guide you through Google AI Studio's new "Build apps with Gemini" feature, where you can turn a simple text prompt into a fully functional, deployed web application in minutes.

Read more →

Top comments (1)

Collapse
 
gioele_buonadonna profile image
Gioele Buonadonna

Perfetto e chiarissimo!

👋 Kindness is contagious

Dive into this thoughtful piece, beloved in the supportive DEV Community. Coders of every background are invited to share and elevate our collective know-how.

A sincere "thank you" can brighten someone's day—leave your appreciation below!

On DEV, sharing knowledge smooths our journey and tightens our community bonds. Enjoyed this? A quick thank you to the author is hugely appreciated.

Okay