quoted
Quoted
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.
System requirements
Installation
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.
Running the development server
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.
Running the test suite
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
License
MIT. See LICENSE
for more details.
quoted
- 0
- 0
- 0
- 0
- 6
- over 4 years ago
- February 9, 2020
MIT License
Sun, 24 Nov 2024 00:57:15 GMT