Running Orchestrator API
Quickstart guide to get Kodus Orchestrator API running on your local machine.
This guide is for local development purposes. For production deployment, please refer to the Deploy Kodus guide.
Prerequisites
- Node.js (LTS version)
- Docker
- Yarn or NPM
Running the project
1. Clone the repository
2. Install dependencies
3. Configure environment variables
Configure your .env
file with the following required variables:
Checkout integration docs for more information about how to get the required credentials for each service.
4. Set up Docker networks
Create the required Docker networks:
5. Start the development environment
Launch the services using Docker:
This command starts:
- Kodus Orchestrator API
- PostgreSQL database
- MongoDB database
- Required network configurations
Monitor service logs:
6. First-time setup
If this is your first time running the project, execute the following commands:
- Run database migrations:
- Seed initial data:
7. Project structure
The project follows a clean, modular architecture:
8. Database configurations
The project utilizes two databases:
PostgreSQL
- Host:
localhost
- Port:
5432
- Default user:
kodusdev
- Default database:
kodus_db
MongoDB
- Host:
localhost
- Port:
27017
- Default user:
kodusdev
- Default database:
kodus_db
9. Service endpoints
Access the service at:
- API:
http://localhost:3331
- Debug Port:
9229