Quoted is a pet project where random quotes are being matched to corresponding images. I worked on this project in order to discover the Crystal language and to experiment with the Kemal micro framework.
If all the above system dependencies are properly installed on the target system, it should be possible to install the project using the following command:
$ make
This command will take care of installing the dependencies and initializing the environment-specific
configuration. It should be noted that a Pixabay API token is
needed in order for the application to perform images lookups: once you get one you'll have to
put it in the pixabay_api_key
option in the config/secrets/development.yml
file.
The development server can be started using the following command:
$ make server
The development server should be accessible at http://127.0.0.1:3000.
The test suite can be run using the following command:
$ make test
For code coverage, the following command can be used:
$ make coverage
This will produce a coverage report under ./coverage
.
Finally, code quality checks can be triggered using the following command:
$ make qa
MIT. See LICENSE
for more details.