This project demonstrates a realistic app built with dry-rb & rom-rb.
This is “yet another blog” project, to allow you to see how these common concepts and features are implemented with dry-rb & rom-rb.
This is also a work in progress. This project is under active development as we build out the features of a typical blog. Follow along with the pull requests to see how these apps are built.
- Home page with article listing (see #1)
- Article list pagination
- Article permalink page
- Category pages with article listings
- Admin area with user authentication
- Admin CRUD features for articles
- Admin CRUD features for categories
- Admin account management area
To run the app, follow these steps:
- Run
bundle
- Copy
.example.env
to.env
- Copy
.example.env.test
to.env.test
- Create a
dry_web_blog_development
Postgres database - Update the database schema with
bundle exec rake db:migrate
- Run the app with
bundle exec shotgun -p 3000 -o 0.0.0.0 config.ru
- Create a
dry_web_blog_test
Postgres database - Update the database schema with
RACK_ENV=test bundle exec rake db:migrate
- Run the tests with
bundle exec rake spec