Considered this submission as a FAILED case.
- The start.sh failed to start with errors.
- Started the docker containers alone successfully by following the instruction, but
create
andlist
returns errorSQLSTATE[42S02]: Base table or view not found: 1146 Table 'laravel_docker.orders' doesn't exist ...
Submitted tech challenge:
Pros:
- Clean and tidy code.
- Sufficient documentation and examples.
- Docker containers are running fine.
- Demonstrated well use of existing frameworks/libraries.
- Included test cases can be executed successfully in side the container.
Cons:
- API endpoints sometimes returns unexpected HTML when db error occures
- Test cases are not able to run by the start.sh
Testing environment:
- Droplet(instance) at DigitalOcean SGP1
- Ubuntu 18.04 x64
- Docker CE Client/Server v18.06.1-ce
- Docker-Compose v1.22.0