-
Rails Blog is a project that tries to simulate the experience of a blog using Rails and Tailwind.
-
Note: There is a bug in production that occurs after deleting a comment. This does not happen locally.
-
User creation
-
Post creation
-
Comment creation
-
Real-time comment updates
-
Post view route
-
Post list route
-
Login route
-
Registration route
- A visitor can see all posts but can't create a post or comment.
- As a visitor, I can register myself as a user to create posts and comment on posts.
- As a logged-in user, I can create posts.
- As a logged-in user, I can comment on posts.
- I can edit/delete only my posts.
docker compose up
ruby 3.2.1
node >= 18.x
yarn
yarn install
bundle install
rails db:create
rails db:migrate
./bin/dev
To run the tests, execute the following command: bundle exec rspec