Skip to content

How to serve Back End

Vlad Kostyukevich edited this page Aug 29, 2019 · 3 revisions

The Aquality Tracking UI application uses the API from Aquality Tracking Api project.

  1. Open ./api/.env file
  2. Edit DB_PORT and TOMCAT_PORT to ports you want tomcat and MySQL DB to be exposed on
  3. Add BRANCH option with branch name if you want to serve not master api code
  4. Run docker-compose up command from the api folder of this repository
  5. Go to localhost:{TOMCAT_PORT}/api in your browser and check if the swagger page is opened

You can also track the API documentation on the swagger page.