Skip to content

davists/Angular-TypeScript-REST-CRUD

Repository files navigation

Typscript Angular2 Rest Products Register Example

The main purpose is to give you an example of a working CRUD, with rest service written in typescript and a generic widget in Angular 2 for list data as table with actions.

As seen here:
src/app/services/rest.service.ts
src/app/widgets/table-data/table-data.component.ts

for dev mode
start the app:
npm install
ng serve

for production mode
Angular 2
ng build --target=prod --prod

PM2 - https://github.com/Unitech/pm2
npm install pm2 -g
pm2 start server.js --name my-app

Run the Docker Image
docker build -t products_register_ng2 .
docker run -d -v ${PWD}:/usr/src/app -v /usr/src/app/node_modules -p 4300:4200 --name products_register products_register_ng2

ng2-admin-lte

Join the chat at https://gitter.im/TwanoO67/ng2-admin-lte Build Status

Bootstraping of Angular2 with AdminLTE dashboard template

Preview

About

Typscript Angular2 Rest Products Register Example

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published