GithubHelp home page GithubHelp logo

shulikov-v / angular1-yii2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hscstudio/angular1-yii2

0.0 2.0 0.0 6.07 MB

Demo Angular 1.X for web client and Yii2 for web service

Home Page: http://www.hafidmukhlasin.com

License: Apache License 2.0

JavaScript 13.14% CSS 3.10% HTML 17.64% Python 4.69% Shell 0.15% PHP 59.75% Batchfile 1.37% ApacheConf 0.16%

angular1-yii2's Introduction

How To Create Single Page Application in minutes!
with AngularJs 1.3 and Yii 2.0

Introduction

This is a demo and a tutorial showing how to develop an application using Yii 2.0 for creating REST API and then using it from UI built with AngularJS.

Tutorial is available here.
Book is available here

Installing demo

In order to install demo clone this repository:

git clone https://github.com/hscstudio/angular1-yii2 angular1-yii2
cd angular1-yii2

Then import database angular_spa.sql.

After it's done run the following:

cd web-service
composer update --prefer-dist

Set database config in web-service\config\db.php.

Set up two hosts in your webserver. One should point to web-client, aother to web-service/web. Then set serviceBase variable in web-client\app.js to point to web-service URL.

License

Free open source

Changelog

  • 0.1 (Alpha - 11/05/2015)
  • 0.2 (Beta - 12/05/2015)

angular1-yii2's People

Contributors

hscstudio avatar samdark avatar

Watchers

 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.