philipsorst / example.symfony.angular-rest.php

This project demonstrates how to build a REST API with the Symfony Framework and how to run an AngularJS Application against it.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

example.symfony.angular-rest.php

About

This project demonstrates how to build a REST API with the Symfony Framework and how to run an AngularJS Application against it.

If you like this project, please donate. Thank you.

Build Status Coverage Status Donate

Technologies

  • Symfony 3.1.*
  • Doctrine
  • FosUserBundle
  • FosRestBundle ^2.1
  • BraincraftedBootstrapBundle
  • Angular 1.5

Prerequisites

Installation

  • Clone the repository and make sure web/ dir is accessible by webserver.
  • Run bin/update-dev to run in dev mode or bin/install to run in prod mode.
  • Create the database: Run bin/console doctrine:schema:create and bin/console doctrine:fixtures:load
  • Make sure var/cache/, var/data/ and var/logs/ are writeable for the web server. If you use Ubuntu and have ACL enabled you can use the bin/set-permissions script.

Domain

The domain for this example is fairly simple, it is a simple blog system. Users can create blog posts and comment on blog posts. Users can only edit and delete their own blog posts and comments. The admin is able to perform every operation.

Further reading

About

This project demonstrates how to build a REST API with the Symfony Framework and how to run an AngularJS Application against it.

License:Apache License 2.0


Languages

Language:PHP 80.6%Language:HTML 10.9%Language:JavaScript 6.3%Language:ApacheConf 1.8%Language:Shell 0.4%Language:CSS 0.1%