kemal_and_clear_sample_app
Kemal and Clear Sample Application
It's an example of traditional blog-like application with post
objects, which have a title
and content
.
- A
post
is associated to anauthor
via a foreign key. - A
post
itself can have multipletags
. - A
post
has self-referential association to define leaders/followers.
Full text search for posts
based on title, content, author's name and tags.
Development
psql -c 'DROP DATABASE IF EXISTS kemal_and_clear_sample_app;' -U postgres
psql -c 'CREATE DATABASE kemal_and_clear_sample_app;' -U postgres
crystal ./src/db_cli.cr migrate
crystal ./src/db_cli.cr migrate seed
crystal ./src/app.cr
Open http://localhost:3000/?query=poney%20crystal
Contributing
- Fork it (https://github.com/mamantoha/kemal_and_clear_sample_app/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Anton Maminov - creator and maintainer
Repository
kemal_and_clear_sample_app
Owner
Statistic
- 0
- 0
- 1
- 0
- 5
- 22 days ago
- December 29, 2019
License
MIT License
Links
Synced at
Tue, 04 Feb 2025 22:51:47 GMT
Languages