angular1-yii2 icon indicating copy to clipboard operation
angular1-yii2 copied to clipboard

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

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

Introduction

This is demo and tutorial about developing AngularJS 1.3.15 for web client and Yii 2.04 for web service.

Version

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

Getting Started

Installations

Clone this repository, in terminal do this, (You should have installed git)

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

Setup Web-Service (Yii 2.0)

import database angular_spa.sql (use Your prefered way to import this sql database) after it do this in terminal

cd web-service
composer update --prefer-dist

set config database in Yii 2 in file web-service\config\db.php

Setup Web-Client (AngularJS 1.3)

Only set variabel serviceBase in file web-client\app.js

Technology Behind The Scene

Tutorial

Good start to learn this topic is click here

Development

Want to contribute? Great! click here

Todo's

  • Bugfix
  • Add authentication

License

Free open source

Our Team