alfonsomga/symfony.demo.on.roids

This package is abandoned and no longer maintained. No replacement package was suggested.

The Symfony Demo Application On Roids


README

Build StatusTotal DownloadsPHP VersionLicense

The "Symfony Demo Application on Roids" is an application based on the original Symfony Demo Application that includes extra features using technologies like Elasticsearch, OAuth, RabbitMQ, Redis and a RESTful API + HATEOAS.

687474703a2f2f737667706f726e2e636f6d2f6c6f676f732f656c61737469637365617263682e737667 687474703a2f2f737667706f726e2e636f6d2f6c6f676f732f6f617574682e737667 687474703a2f2f737667706f726e2e636f6d2f6c6f676f732f7261626269746d712e737667 687474703a2f2f737667706f726e2e636f6d2f6c6f676f732f72656469732e737667 68747470733a2f2f692e696d6775722e636f6d2f716f766f7a63322e706e67

Table of Contents

687474703a2f2f737667706f726e2e636f6d2f6c6f676f732f616e7369626c652e737667

687474703a2f2f737667706f726e2e636f6d2f6c6f676f732f76616772616e742e737667

## Setting up & running the demo with [**Vagrant**](https://www.vagrantup.com/) + [**Ansible**](http://www.ansible.com/)

687474703a2f2f666f746f732e73756265666f746f732e636f6d2f64643161326337623938333239316236626261343531383539353266316561656f2e706e67

### Prerequisites - [Vagrant](https://www.vagrantup.com/downloads.html) installed - [Ansible] (http://docs.ansible.com/ansible/intro_installation.html) installed - [Virtualbox](https://www.virtualbox.org/wiki/Downloads) installed

Instructions

  1. git clone https://github.com/alfonsomga/symfony.demo.on.roids.git
  2. cd symfony.demo.on.roids/vagrant/
  3. vagrant up
  4. Wait until Ansible installs and configure everything
  5. Finally navigate to http://192.168.50.88 to browse the app

Congratulations! You're now ready to use The Symfony Demo On Roids.

68747470733a2f2f692e696d6775722e636f6d2f716f766f7a63322e706e67

## RESTful API + HATEOAS

687474703a2f2f666f746f732e73756265666f746f732e636f6d2f39303265663931393930323362376437666631653337616164633332656530396f2e706e67

A RESTful API + HATEOAS has been implemented for expose the resources. Different formats are available for manage the data: HTML, JSON and XML.

Related urls:

Bundles used:

687474703a2f2f737667706f726e2e636f6d2f6c6f676f732f656c61737469637365617263682e737667

## Elasticsearch

687474703a2f2f666f746f732e73756265666f746f732e636f6d2f30373363343862346164373234336531636134333835646333346635613265396f2e706e67

Elasticsearch has been used for add a simple search form and show relevant results based on the user search query.

Related urls:

Bundles used:

687474703a2f2f737667706f726e2e636f6d2f6c6f676f732f6f617574682e737667

## OAuth

687474703a2f2f666f746f732e73756265666f746f732e636f6d2f38616130653266323134393033393363333939656434313262303030336261336f2e706e67

OAuth has been used for link/unlink an account from an OAuth provider (GitHub in this case) to an existent backend account and allows to log in directly to the backend from a GitHub account.

To use this feature you must register a new OAuth Application and edit the parameters.yml.dist file with your app client id and client secret token.

Related urls:

Bundles used:

687474703a2f2f737667706f726e2e636f6d2f6c6f676f732f7261626269746d712e737667

## RabbitMQ

687474703a2f2f666f746f732e73756265666f746f732e636f6d2f33396231656166346330356566333132343730313830356639643361383064376f2e706e67

RabbitMQ has been used for generate a PDF file based on the article content from a consumer in a scalable way.

Related urls:

Bundles used:

687474703a2f2f737667706f726e2e636f6d2f6c6f676f732f72656469732e737667

## Redis

687474703a2f2f666f746f732e73756265666f746f732e636f6d2f38653665366133353037663831343563336266373264336339616635333935316f2e706e67

Redis has been used for show the top 5 popular posts and set a cache lifetime of 3600 seconds.

Related urls:

Bundles used: