/multi-docker

The most overengineered fibonacci sequence that ever existed(that currently doesnt even work), im doing it to learn about docker containers and a little bit of Continous Integration with Travis-CI.

Primary LanguageJavaScript

Table of Contents

  1. Description
  2. Prerequisites
  3. Configuration
  4. Troubleshooting

Description

The most overengineered Fibonacci sequence calculator ever built. It has a react frontend(that you need to refresh to see results), a express backend, with two almost redundant storage mechanisms(postgres and redis), and by the way, currently the worker connected to redis, that was supposed to calculate the fibonnacci number doesnt work.

Prerequisites

sudo apt install docker
sudo apt install docker-compose

Configuration

docker-compose up --build --remove-orphans

Troubleshooting

Sometimes the API starts after the databases in dev mode, so you need to Ctrl-C and up the containers again.