Endpoints for fms
- Install MariaDB, if you don't have it:
sudo apt install mariadb-server
- Create the database and user with grants:
sudo mysql
->source settings/setup.sql;
- Make sure
make
is available - Run
make install
- Run
make run
- In a second console, do eg.
curl localhost:5000/bookings/ABCXYZ
orcurl localhost:5000/bookings?uid=123
- You can run tests with
make test