A simple REST End point to save some User Credentials a database done as a coding exercise.
./test.sh
When the system is running the following can be used as an Intergration test.
./testapi.sh
- Increase the Unit Test coverage
- Add Unit Tests to the Controllers
To generate the Swagger documenation from the project
./generatedocs.sh
./buildall.sh
Once you have built the images
docker compose up
docker exec -it credentialscapture_mysql_1 mysql -u sqluser -psqlpass
curl --data '{"firstname":"Mark","lastname":"Ackroyd","country": "UK", "email": "my@email.com"}' "http://localhost:8080/save"