A simple Ruby on Rails blog app built as part of a technical assessment for Lachlan and the FrameSports team. The app demonstrates CRUD functionality (create, read, update, delete) with scheduled publishing — posts can be set to Published or Scheduled for a future time.
Before you begin, ensure you have the following installed:
- Ruby: 3.3.0+
- Rails: 7.1+
- Bundler
Follow these steps to get your development environment running:
git clone git@github.com:gitChang/mini_blog.git
cd mini_blogThis command creates your database, runs migrations, and populates the feed with sample data (past, current, and future posts):
rails db:prepare
rails db:seedWe use RSpec to verify application logic and ensure future posts remain hidden from the feed.
# Run the entire test suite
bundle exec rspecTo start the development server:
rails s -b 0.0.0.0specify "-b 0.0.0.0" if you are using WSL.