Final project for Udemy course - using Docker
- Clone this repo
- Make sure you have docker installed and running on your computer
- Run
docker-compose up( you may have to rundocker-compose up --buildfor the first setup phase) - You must add your own API key in the
controllers/image.jsfile to connect to Clarifai API. - You will also need to update Line 22 in server.js to your client app port
To access backend's bash:
Run docker-compose exec smart-brain-api bash
To access postgres: (adjust PORT number if needed)
Run psql postgres://<username>:<password>@localhost:5432/smart-brain
To access redis:
Run docker-compose exec redis redis-cli
You can grab Clarifai API key here