Giter Site home page Giter Site logo

stream-example-rails's Introduction

Stream Example App

This example app shows you how you can use GetStream.io to build a site similar to Pinterest.

If you have no idea what GetStream is: GetStream is an hosted API service that allows you to build activity feeds. It makes it very easy to build user activity feeds, public feeds, aggregated feeds and notification feeds. GetStream provides API clients in several language, in this example app we show how easy is to create a website with activity feeds using Rails and stream_rails.

The application is built using Rails 5; and stream_rails the best way to try this application is via Heroku; you can deploy this example (for free) on Heroku by pressing the Deploy button below.

Deploy

If you prefer to run this locally then make sure to generate the API keys on GetStream.io and update the settings in config/initializers/stream_rails.rb

More informations and code samples are available in stream_rails documentation and in getstream.io documentation pages.

stream-example-rails's People

Contributors

kennym avatar ruggi avatar tbarbugli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stream-example-rails's Issues

Some files should be removed

Thank you for the app! It helps very much!
Still there's a lot of empty files which just confuse people (at least me). I suggest removing these files to make the app cleaner and it would be taking less time to look through.

Here's the list of such files:

- helpers:
feeds_helper.rb
folows_helper.rb
items_helper.rb
landing_helper.rb
pins_helper.rb

- assets:
feeds.js.coffee
folows.js.coffee
items.js.coffee
landing.js.coffee
pins.js.coffee

- stylesheets:
feeds.css.scss
folows.css.scss
items.css.scss
landing.css.scss
pins.css.scss

Heroku deploy fails

The Ruby version you are trying to install does not exist on this stack.
!
! You are trying to install ruby-2.5.5 on heroku-20.
!
! Ruby ruby-2.5.5 is present on the following stacks:
!
! - heroku-18

Incorrect objects for retrieving flat and aggregated feeds

The methods flat and aggregated in feeds_controller, call the wrong objects: timeline_flat and timeline_aggregated to retrieve flat and aggregated feeds respectively.

These objects should be: [:flat] and [:aggregated] instead of [:timeline_flat] and [:timeline_aggregated]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.