Installation
Install docker https://docs.docker.com/install/#server and docker compose https://docs.docker.com/compose/install/
Clone and build the project by running
$ git clone https://github.com/abdoukarim/codechallenge
$ cd codechallenge
$ docker-compose up -d
After completing the installation, access the app by clicking the following link http://localhost:8888
Note:
The app is not immediately available on port 8888 because the containers are still being initialized and may take a couple of minutes before the first load. Make sure that ports 8888 and 8080 are accessible.
Access to db
Explore the database with adminer http://localhost:8080 by using credentials of the file database.json
Best way to safely store and manage the keys
To safely store and manage the keys, we can you use docker vault
Vault is a tool for securely accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, certificates, and more. Vault provides a unified interface to any secret, while providing tight access control and recording a detailed audit log.