Skip to content

tien7668/my_blog

Repository files navigation

Blog CMS

A Blog CMS base on Ruby on Rails framework, has 3 section:

  • Admin panel : allow users to CRUD posts(for logged users), users(for super admin)
  • Front panel : allow visitors to view, sort post list, comment(for logged user)
  • REST API : RESTful api for retrieve posts (with search)

Live page

Local Installing and Usage

Step 1: clone this project

Step 2: install dependencies

bundle install

Step 3: migrate db

Create local postgrs db my_blog_dev, then run

rake db:migrate

Step 3: seed db (default users, posts):

rake db:seed