This guide will help you get it up and running and explain how the process works.
Follow these steps to prepare the environment and run the API.
Copy the example environment file to create your local configuration:
cp .env.example .env
Edit the .env file if you need to adjust credentials or local settings.
Launch the environment in detached mode:
docker compose up -d
Install the required PHP packages using Composer:
docker compose exec php composer install
Finalize the installation by running the internal setup command:
docker compose exec php bin/console ask:install
This API is built around conversations, not just data transfer. Below is the lifecycle of a message.
Think of this like dropping a letter in the mail.
You send a request to the API containing your message payload.
The API receives the request, opens it, and processes your input.
Instead of immediately returning a response, the system drafts a reply using the Readextention.
Once the API determines the answer, it edits the Readextention.
Think of the Readextention as a shared notepad or status board where responses are written.
Your application (or user) watches the Readextention and reads the response when it appears.
In short:
- You send a request
- The system edits the
Readextention - You read the result from there
For adjustments to ports, database connections, or API keys, refer to the .env file.