This repo contains a 'docker-compose.yml' file that allows you to simply run:
docker compose up -d
back end is available at http://localhost/4000 and the front end is at http://localhost/3000.
When you are done, simply run:
docker compose down
To deploy the application, you will need to do the following:
-
Build the frontend.
cd frontend yarn build -
Copy the artifacts from the newly created/populated
frontend/builddirectory intobackend/src/staticdirectory. -
Deploy the
backenddirectory and start it usingnode src/index.js. The frontend application will be deployed using the backend.