Introduction

The CADRE application comprises of a frontend and backend. The backend is based on the REMS application, and the frontend is an entirely new application developed in React.

The backend REMS application is written in Clojure and requires a postgres database.

To avoid issues with cross domain requests, the application must be run in a way where the backend and frontend share the same domain. The implementation CADRE has chosen is to host 2 separate domains. The first being for the backend application only. This allows for adminstrative operations in the REMS application. The second domain contains the frontend, and the REMS application running in a subdirectory of the frontend. In effect, there are two copies of the backend application running that share the same database.