Skip to content

Source code of controller microservice that handles data to and from frontend and jupyter kernel gateway for evolutionary algorithms on click v2

Notifications You must be signed in to change notification settings

Evolutionary-Algorithms-On-Click/controller_microservice_v2

Repository files navigation

Controller Microservice V2

Source code of controller microservice that handles data to and from frontend and jupyter kernel gateway for evolutionary algorithms on click v2.

Overview

This service acts as the central orchestrator for the platform, managing:

Prerequisites

  • Go: 1.24.1 or higher
  • Docker: For containerization and dependencies (CockroachDB, MinIO, )
  • Docker Compose: For orchestration
  • Make: For running standard commands
  • Lefthook: For git hooks (optional but recommended)

Getting Started

1. Environment Setup

  1. Clone the repository.
  2. Ensure you have the necessary environment variables set. Refer to docker-compose.yaml for required keys (e.g., DATABASE_URL, JUPYTER_GATEWAY_URL). Note: The project uses godotenv to load environment variables from a .env file in development.

2. Running Dependencies

Start the supporting services (Database, Object Storage, Jupyter Gateway, etc.):

make docker-up

or

docker-compose up --build

This will spin up CockroachDB, MinIO, Jupyter Gateway, and Python Runner as defined in docker-compose.yaml.

3. Local Development

To run the controller service locally:

# Install tools and git hooks
make setup

# Build and run the application
make run

The service will start on port 8080 (default).

API Documentation

  • HTTP API: Versioned under /api/v1/. Defined in routes/api.go.
  • gRPC: Defined in proto/authenticate.proto.

About

Source code of controller microservice that handles data to and from frontend and jupyter kernel gateway for evolutionary algorithms on click v2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 3

  •  
  •  
  •  

Languages