Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://blairanderson.github.io/rails-hackernews-reddit-producthunt-clone/

hacker news / reddit / social link-sharing website. Built with Rails.
https://blairanderson.github.io/rails-hackernews-reddit-producthunt-clone/

clone hacker-news rails reddit ruby

Last synced: 3 months ago
JSON representation

hacker news / reddit / social link-sharing website. Built with Rails.

Awesome Lists containing this project

README

        

# [Reddit-Hackernews-ProductHunt Clone on Rails](https://blairanderson.github.io/rails-hackernews-reddit-producthunt-clone/)

Maintained by [Blair Anderson - Amazon Consultant](https://www.blairanderson.co/)

[![Open Source Helpers](https://www.codetriage.com/blairanderson/rails-hackernews-reddit-producthunt-clone/badges/users.svg)](https://www.codetriage.com/blairanderson/rails-hackernews-reddit-producthunt-clone)

**[DEMO](https://hackernews-rails-clone.herokuapp.com/)**

![Screenshot](https://cdn.rawgit.com/blairanderson/rails-hackernews-reddit-producthunt-clone/master/public/screenshot.png)

This is the `readme.md` for a Ruby on Rails application that mimics social news link sharing websites like HackerNews, ProductHunt, and Reddit.

Obviously the styling is different but the base functionality exists.

### Why?

Because when i was learning to program, I wanted to play with code that had a familiar model and get some instant gratification.

The problem with learning to code is the learning-curve. Shit is real and painful and i found that the best cure for the pain was cloning an app with features and tweaking until it broke and learning along the way.

I think this is why wordpress is SO popular. Its stupid-easy to fire-up, and changes come with one-click package installs and tiny code changes.

### Features

- A visitor can view the list of items
- A visitor can view a single item and comment on it
- A visitor can register for an account
- A user can login and logout
- A user can submit a new item
- A user can like/unlike an item
- Google Analytics Integration

### Deploy?

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)

*[learn more about](https://devcenter.heroku.com/articles/app-json-schema)*

### Change the Code!!!

My main goal for this is to give new programmers some code to look at and talk about. Anytime i [get questions](https://github.com/blairanderson/rails-hackernews-reddit-producthunt-clone/issues), I plan to add them here...

*Open your terminal*

```bash

$ git clone [email protected]:blairanderson/rails-hackernews-reddit-producthunt-clone.git
$ cd rails-hackernews-reddit-producthunt-clone
$ bundle
$ bundle exec rake db:create db:migrate db:seed

```

## [Lets look at some code](/HOWTORAILS.md)