Skip to content

Zadvornyi/angular-hybrid-webpack

Repository files navigation

angular-hybrid-webpack

This sandbox for showing possibility "hybrid approach", migration from AngularJs to Angular

Hybrid app, all Angular modules there are in folders which are named in kebab case, appropriately AngularJs modules are named in lowerCamelCase

List of features

  • Ran hybrid angularJs and Angular using ngUpgrade library
  • Implemented @uirouter/angular-hybrid router
  • Downgrade Angular ahw-accounts-dashboard Components and run in AngularJS Code
  • Injected AngularJS AhwRootScopeShared service to Angular
  • Made AOT compilation for hybrid app
  • etc.

Getting started

Install JSON Server

npm install -g json-server

Start JSON Server

json-server --watch ./db/db.accounts.json

Routes

Based on the previous ./db/db.accounts.json file, here are all the default routes. You can also add other routes using --routes.

Plural routes

GET    /accounts
GET    /accounts/1
POST   /accounts
PUT    /accounts/1
PATCH  /accounts/1
DELETE /accounts/1

Singular routes

GET    /accounts
POST   /accounts
PUT    /accounts
PATCH  /accounts

Run angular-hybrid-webpack

npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published