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 an author
via a foreign key. A post
itself can have multiple tags. A post
has self-referential association to define leaders/followers.
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
- 4
- about 2 years ago
- December 29, 2019
License
MIT License
Links
Synced at
Sun, 17 Nov 2024 02:33:31 GMT
Languages