cd apps
git clone https://github.com/jameelio/health-frontend.git
cp ./health-frontend/.env.example ./health-frontend/.env
git clone https://github.com/jameelio/health-backend.git
cp ./health-backend/.env.example ./health-backend/.env
Navigate back to root
This repo is configured to be built with Docker, and Docker compose. To build all apps in this repo:
# Create a network, which allows containers to communicate
# with each other, by using their container name as a hostname
docker network create app_network
# Build prod
docker-compose -f docker-compose.yml build
# Start prod in detached mode
docker-compose -f docker-compose.yml up -d
http://localhost:3000/symptoms/:{searchTerm}
curl --location --request GET 'http://localhost:3000/symptoms/head'
To shutdown all running containers:
# Stop all running containers
docker kill $(docker ps -q) && docker rm $(docker ps -a -q)
# Do not run this
# docker system prune