rodrigoulisses / rails-react-blog

A full featured blog built with Rails in the backend and React + Redux in the frontend.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blog

A full featured blog using Ruby, Rails, React and Redux.

!!! Warning: This is under development! So be careful, things may change a little. !!!

Features

  • 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

Development with Docker

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

Contributing

About

A full featured blog built with Rails in the backend and React + Redux in the frontend.


Languages

Language:JavaScript 50.4%Language:Ruby 42.6%Language:HTML 5.9%Language:CSS 0.9%Language:Shell 0.2%