npx vratix init
You’re free to copy and use any code from this API Module Library — it's designed to be a foundation you can build on.
To simplify setup and integration, we created a CLI tool to help you start new projects or integrate our API Modules into existing ones. The CLI handles imports, configurations, and dependencies automatically, so you can get up and running in seconds.
Start a New Project
Use the init
command to create a new Node.js project or configure an existing one.
Add the -c
flag to specify a custom folder, or the CLI will set up the project in the current directory:
Configure Your Project
The CLI will prompt you with a few questions to configure your project and create ./config/modules.json
:
Choose API Modules
During setup, select any initial API Modules you’d like to install as part of the project template:
If you choose "None," you can add modules individually after setup.
Set Folder Overrides
Customize the paths for main module folders if needed:
Note: Any folder overrides will still be located within
/src
.
Ready To Go
Once setup is complete, to start your service run:
To add additional modules later, use: