A full featured blog using Ruby, Rails, React and Redux.
!!! Warning: This is under development! So be careful, things may change a little. !!!
- Post listing
- Post detail page
- Comments list at post show page
- Comment form at post show page
- Mark post as favorites
- Rails admin to manage posts
- Bootstrap to add styling
Run the command below to fully setup the project:
(This may take a while, so grab a cup of coffee and enjoy! :D)
sh bin/docker_setup
It assumes you have your machine properly configured with docker and docker-compose.
The you can run:
docker-compose up
And visit: http://localhost:3000
to see the app running.
To add new posts you can go to http://localhost:3000/admin
, where you can manage the whole application.
To run the tests just:
docker-compose exec web yarn tests
To run just the frontend tests:
docker-compose exec web yarn test
or just the backend tests:
docker-compose exec web bundle exec rspec
- Fork it ( https://github.com/marclerodrigues/rails-react-blog/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