The on-track-server acts as proxy for the frontend and backend servers. It acts as main hub for the on-track application solution.
It runs a proxy server proxying calls to the backend and frontend servers. The frontend is located at / and the backend at /api.
Building and launching
Check out the server and the frontend and backend into a workspace directory.
git clone email@example.com:on-track-development/on-track-server.git git clone firstname.lastname@example.org:on-track-development/on-track-backend.git git clone email@example.com:on-track-development/on-track-frontend.git
Open up a shell in the server directory.
Building the solution
The solution is built from the server directory with
Starting the solution
The solution is started from the server directory with
docker-compose up. Stop it by using
docker-compose down. The server should then open here.
The following directories are mounted directly into the frontend and backend servers directly:
Changes in these directories are applied to the containers directly.
Something useful here itegration testing wise would be sweet!