Skip to content

petersvoboda/hackaton-tool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iris Test Generation Tool - Microservices

This project sets up the Iris Test Generation Tool as a set of microservices orchestrated by Docker Compose.

Project Structure

  • /ui: Contains the React.js frontend application.
  • /backend: Contains the Node.js/Express.js backend application with Prisma.
  • /agent: Contains the Python/Langchain AI agent.
  • docker-compose.yml: Defines the services, networks, and volumes for Docker Compose.
  • /database: Data for the PostgreSQL database is persisted in a Docker volume defined in docker-compose.yml.

Prerequisites

  • Docker
  • Docker Compose

Getting Started

  1. Clone the repository (if you haven't already):

    # git clone <repository-url>
    # cd <repository-name>
  2. Build and run the services using Docker Compose:

    docker-compose up --build

    This command will:

    • Build the Docker images for the ui, backend, and agent services if they don't exist.
    • Pull the postgres:latest image for the database service.
    • Start all the defined services.
  3. Accessing the services:

API Documentation

The backend service provides API documentation using Swagger UI. Once the backend server is running, you can access the Swagger UI by navigating to:

This interface allows you to view and interact with the available API endpoints.

  1. To stop the services:
    docker-compose down

Further Development

  • Each service (ui, backend, agent) has its own Dockerfile and can be developed independently.
  • Changes to the source code in the mounted volumes (./ui:/app/ui, etc.) will trigger auto-reloading if configured within the respective service's development server.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 89.3%
  • Dockerfile 5.2%
  • HTML 2.2%
  • CSS 2.1%
  • JavaScript 1.2%