Coder Social home page Coder Social logo

bayne / symfony-angular-todomvc Goto Github PK

View Code? Open in Web Editor NEW
89.0 11.0 25.0 1.27 MB

An implementation of TodoMVC using AngularJS and Symfony REST Edition

License: MIT License

PHP 2.87% CSS 1.02% JavaScript 95.61% ApacheConf 0.12% HTML 0.38%
todomvc symfony angularjs example-project api restful restangular angular

symfony-angular-todomvc's Introduction

Deploy Symfony Angular TodoMVC

This project is a combination of the Symfony REST edition project and AngularJS+Restangular to create an implementation of TodoMVC. The majority of the AngularJS code is adapted from the existing TodoMVC implementation with AngularJS

Install

Follow the same instructions as found on the Github page for the symfony-rest-edition

Essentially:

$ composer.phar install

Then:

$ php app/console sp:bower:install

Or click this:

Deploy

Usage

Start a webserver for the Symfony backend

$ php app/console server:run localhost:8080

Navigate your browser to the TodoMVC client

http://localhost:8080/todo

Or browse through the Rest API

http://localhost:8080/app_dev.php

All features from the symfony-rest-edition should be found in this project also.

Screenshots

TodoMVC Screenshot

Symfony2 Backend Screenshot

API Documentation

symfony-angular-todomvc's People

Contributors

bayne avatar cordoval 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

symfony-angular-todomvc's Issues

how to avoid running the webserver for symfony?

Hi,
Since I do have apache2 installed and running, Is there any way to avoid running the webserver for symfony backend through the command below ?

$ php app/console server:run localhost:8080

Without running the webserver, I always get the error 500.

Thanks

routes not recognized

dear
I'm new in symfony and I followed the instruction for the installation .. but the frontend does not not work .. no routes are recognized

any suggestions?

thanks in advance

Needs DX refinement

The title is a bit excessive, sorry for that. My problem is that TODOs are not being stored in the database. I'm new to Symfony, maybe I am doing something wrong.

where symfony routes are defined in this project?

I did not found where the routes are defined in the project...

How this is done? (if feel it is done throught the configuration of the fos_rest)

What if someone would like to define the routes based on annotation? Is it recommended to avoid that for RESTful API???

If you have any link or any documentation related to definition of the routes in RESTful API without annotations or yml file, I will be happy.

Thanks,

why the use of php app/console sp:bower:install in stead of bower directly?

Hi,

I am wondering why in this project is using the command php app/console sp:bower:install is for installing the npm library?

Don't you think that it would be better if one uses the bower command as described down?

steps for installing bower dependencies

  1. create a bower.json in src/DemoBundle/Resources/public/
  2. run the following command for installing the dependencies $ bower install

(and the check if src/Acme/DemoBundle/Resources/public/components/cache/ is writable will be avoided)

Thanks

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.