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
- 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.
Install JSON Server
npm install -g json-server
Start JSON Server
json-server --watch ./db/db.accounts.json
Based on the previous ./db/db.accounts.json
file, here are all the default routes. You can also add other routes using --routes
.
GET /accounts
GET /accounts/1
POST /accounts
PUT /accounts/1
PATCH /accounts/1
DELETE /accounts/1
GET /accounts
POST /accounts
PUT /accounts
PATCH /accounts
npm run dev