This repository serves as the central point for managing and running the project, which consists of the following services:
app
: Frontend and API service.db
: Database service (PostgreSQL).db2search
: Database replication service (Golang).devops
: Devops infrastructure.
The project uses docker-compose
to manage and run all services together.
app
: Contains the frontend and backend logic.db
: Provides PostgreSQL configuration and necessary database initialization scripts.db2search
: Synchronizes the database with Elasticsearch for search functionality.devops
: Contains devops infrastructure stuff.docker-compose
: Easily run all services with one command.
Before you begin, ensure you have the following installed on your machine:
-
Clone this repository along with its submodules:
git clone --recurse-submodules https://github.com/gena-tokarev/client-record cd client-record
-
Create
.env
file and copy in it the contents of.env.example
-
Run
docker-compose up -d
-
At the moment we have to run the app service manually. So please go to app repository and follow the instructions of how to run it (the frontend and api service).