- sqlite3
- libmircohttpd
- jansson
- gnutls
- libcurl-gnutls
- zlib
- ulfius
Go to http://localhost:8080/api
and see if there is a response in browser
Run docker-compose up -d
Theres a sh file for linux to run a build based on the cmake
curl -X GET http://localhost:8080/api/patients
curl -X GET http://localhost:8080/api/patients/{patientID}
curl -X POST -H "Content-Type: application/json" -d '{"name": "John Doe"}' http://localhost:8080/api/patients
curl -X PUT -H "Content-Type: application/json" -d '{"name": "Updated Name"}' http://localhost:8080/api/patients/{patientID}
curl -X DELETE http://localhost:8080/api/patients/{patientID}
Install golang
Go into the client folder
cd client
Run client
go run main.go
Go to http://localhost:8081/ in the browser