Making of the blog with all features - Articles, Users, Categories - from scratch.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
test
tmp
vendor
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
package.json

README.md

Intro

Making of the Alpha Blog from a udemy course.

Structure

CRUD - C = New/Create, R = Read/Show, U = Edit/update, D = Destroy

  1. Articles, Categories and Users Models - Everything is made from stratch without using Auth gems.

  2. Only Admins can create categories, they can RUD articles and users.

  3. All Articles are public, but only users who create it can UD it.

  4. Bootstrap for styling the App.

Setup on Heroku

  1. Clone this repo:
git clone
  1. Check locally if the app is working properly:
cd alpha-blog
bundle install --without production
rake db:migrate
rails s
  1. Goto localhost:3000 and check all the working.

  2. Create a app on Heroku and then add your app/keys for this app. You can look here on how to do that. Note: You will need Heroku CLI

  3. Push code to heroku: (heroku will automatically setup pg database)

git push heroku master
heroku run rake db:migrate
  1. Ezzy Pezzy - Go to the URL provided by heroku when you created the app.