Giter VIP home page Giter VIP logo

getstream / stream-example-doctrine Goto Github PK

View Code? Open in Web Editor NEW
0.0 39.0 0.0 50 KB

An example app built using getstream.io and Doctrine ORM integration

Home Page: https://doctrine-example.herokuapp.com/login/demo

License: BSD 3-Clause "New" or "Revised" License

PHP 83.46% HTML 16.54%
doctrine orm stream-doctrine stream-php activity-feed timeline feed getstream-io notification-feed demo

stream-example-doctrine's Introduction

Stream Doctrine Example App

This example app shows you how you can use GetStream.io to build a scalable social app, with posts, follows and likes.

The application is built using Doctrine and bootstrap and some available PSR-7 enabled components.

The project is based on the stream-doctrine integration for Stream. There is also a lower level PHP - Stream integration library which is suitable for all PHP applications.

You can sign up for a Stream account at https://getstream.io/get_started.

If you're looking to self-host your feed solution we suggest the open source Stream-Framework, created by the Stream founders.

Live demo

A live demo is run on Heroku.

Deploying the app

Heroku

The best way to understand and try out this application is via Heroku. You can deploy the app, for free, simply by clicking the following button:

Deploy

Local

If you prefer to run this locally then go ahead and use git to make a local clone of this repository. Make sure to generate new API keys on GetStream.io. Then paste your credentials in .env (copy the empty .env.sample file first) by filling in your STREAM_APP_KEY and STREAM_APP_SECRET. Now you can get your database (SQLite) ready by running the migrate command (composer migrate) One last thing before running the application: you'll need to generate a secret for the session encryption. Run composer generate:key, and you're done.

Run the web app locally by executing php -S 127.0.0.1:8000 public/index.php and open http://localhost:8000/ in your browser.

Copyright and License Information

Copyright (c) 2015-2017 Stream.io Inc, and individual contributors. All rights reserved.

See the file "LICENSE" for information on the history of this software, terms & conditions for usage, and a DISCLAIMER OF ALL WARRANTIES.

stream-example-doctrine's People

Contributors

hannesvdvreken 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

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.