Technical tools ·
Code Editor with Git, GitHub, Terminal, API Client and DB Manager
For developers and technical staff who customize the ERP or work with other systems, the Code app brings together what usually takes five programs: an editor, git, a terminal, an API client and a database manager. Below you will find each screen, a sample workflow and tips for working safely.

Editor and git
- VS Code-style editor with a folder explorer, search and syntax highlighting (Dart, Python, JavaScript, TypeScript, PHP, SQL, Go, Rust, Java, YAML and more).
- Changes, history with color-coded diffs, local and remote branches, stash.
- Check out a commit, reset the branch, revert, cherry-pick and tags.
- GitHub with a token: list and clone repositories, publish a new one, pull and push.
- Built-in terminal and AI chat.

Data and connections
- Database manager: SQLite, PostgreSQL, MySQL / MariaDB and MongoDB, with queries and schema.
- API client for testing HTTP requests, with collections, history and environment variables.
- FTP client supporting FTP, FTPES and FTPS.
- Flowcharts and database diagrams generated from the schema, with their SQL.

Screens and views
- Editor: “Open folder…” or “Clone repository…”, file “Explorer”, “Search in files” with “Regular expression” and “Replace all”, the “Source control” panel and “Terminal (⌘J)”.
- Databases: a list of “Connections” (including “This database”), “Filter tables”, “View data”, a query editor with “Run”, and CSV export with every row.
- API: a Postman-style client with “Parameters”, “Headers”, “Body” (JSON, text or form) and Bearer or Basic “Authorization”; “Save request”, “History” and “Copy as curl”.
- FTP: browse folders, “Upload files”, “Download”, “New folder”, “Rename…” and delete.
- Diagrams: “New diagram” (flowchart or database), “From a database”, “With AI”, “Diagram SQL” and “Export to PDF”.

Git without leaving the ERP
The git panel uses the git installed on your computer, without ever prompting you in the terminal. From “Changes” you stage and commit; from “History” you see each commit with its diff and can “Go to this commit”, “Revert this commit”, “Apply to the current branch (cherry-pick)” or “Tag…”.
In “Branches” you create, switch, rename, merge or delete branches, and see how many commits are “to pull” and “to push”. If you got the last commit wrong, there is “Amend last commit” and “Undo last commit”; if you need to switch branches mid-task, “Stash changes…”.


A worked example
- In “GitHub account…”, paste your token (the “Create a token on GitHub (“repo” scope)” link opens the page to create one).
- Click “Clone repository…”, find the integration script's repository and choose “Clone and open”.
- Create a branch with “New branch…” and edit the file; if in doubt, ask the “AI chat” and use “Apply to the file”.
- Test the endpoint in API with a {{base_url}} variable and check in Databases that the data arrives correctly.
- Write the “Commit message”, click “Commit and push” and, if you like, “Open on GitHub”.

Security and best practices
The GitHub token is stored for your user, and git only uses it on each command that talks to github.com: it is never written into the repository's configuration. You can remove it at any time with “Remove token”.
In the database manager, a query that changes data asks for confirmation (“Modify data”) before it runs. PostgreSQL and MySQL connections support “Encrypted connection (SSL)”, and for FTP you can choose “FTPES (explicit TLS)” or “FTPS (implicit TLS)” instead of “FTP (unencrypted)”.

Tips to get the most out of it
- Define values such as base_url or token in “Environment variables…” and use them as {{name}} in the URL, headers or body.
- Group each integration's requests into “Collections” so you can rerun them in seconds.
- Generate a database's diagram with “From a database” before writing complex queries: you will see tables and relationships at a glance.
- Use “Copy as curl” to hand a working request to a colleague or a script.


Common mistakes and how to avoid them
- “git was not found on this computer”: install git; the editor relies on it for all source control.
- Trying to push with no commits: the ERP warns you with “Make a commit first so there is something to push.”
- Closing files with “Unsaved changes”: the editor asks first; save with ⌘S.
- Accidentally deleting a remote branch: “Delete from remote…” deletes it for everyone, so the ERP asks for confirmation.

Who it's for
For the in-house technician or developer who integrates the ERP with other programs, maintains scripts or queries databases — without switching tools.

Frequently asked questions
Does it work with GitHub?
Yes, with a personal access token: clone, publish, pull and push without being asked for a password.
Which databases can I query?
SQLite, PostgreSQL, MySQL / MariaDB and MongoDB, from the database manager.
Does it generate database diagrams?
Yes, from the schema, with relationships and their SQL. You can also create them by hand or with AI and export them to PDF.
Do I need git installed?
Yes. The source control panel uses the git on your computer; without it, the ERP shows “git was not found on this computer”.
Can I use the editor in the browser?
No. The code editor works with local files and the terminal, so it needs the desktop app.
Can I export query results?
Yes, to CSV from the database manager, with every row even if only part of them is shown on screen.