This repository provides scripts to ease building and deployment the backend and frontend.
For more details about the frontend or backend, see the respective respository.
Since this repository uses git submodules, cloning will require:
git clone [email protected]:politiCCCs/user-facing.git --recurse-submodules # If you use SSH
git clone https://github.com/politiCCCs/user-facing.git --recurse-submodules # If you use HTTPS
To build the backend and frontend, run:
./build.sh
The backend serves both the API (/api
) and the React frontend - provided ./build.sh
has been run.
This can be done with ./run.sh
or node backend/app.js
.