Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reafreitas1/ice-cream_angular
June/2021 - Angular project with backend and frontend. Using npm functions to create components, services and directives.
https://github.com/reafreitas1/ice-cream_angular
angular-cli angular9 backend component container crud css directive-angular frontend functional-language html5 json material-ui module nodejs npm object-oriented-programming services typescript
Last synced: about 2 months ago
JSON representation
June/2021 - Angular project with backend and frontend. Using npm functions to create components, services and directives.
- Host: GitHub
- URL: https://github.com/reafreitas1/ice-cream_angular
- Owner: reafreitas1
- Created: 2021-06-01T13:40:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-07T19:37:11.000Z (almost 3 years ago)
- Last Synced: 2023-09-28T07:37:46.298Z (over 1 year ago)
- Topics: angular-cli, angular9, backend, component, container, crud, css, directive-angular, frontend, functional-language, html5, json, material-ui, module, nodejs, npm, object-oriented-programming, services, typescript
- Language: TypeScript
- Homepage:
- Size: 3.06 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### **Angular 9 Project**
https://user-images.githubusercontent.com/79333175/154321579-e548ca51-c68f-46a0-9597-6ebdadeb722a.mp4
Each of the components, directives and services were generated with the command "npm g(enerate)". For each component generated, a route had to be created. I initialized the backend with the JSON server and compile the frontend to read .ts and generate .js.
» Installed Angular
`npm i -g @angular/cli`
» Generating my app
`ng new my-app`
» Started npm by generating package.json
`init npm - y`
» Generating package-lock.json
`npm i json-server`
» Generating frontend
`ng new frontend -- minimal` (option CSS)And so on, I generated the components, directives and services:
`ng g c components/template/footer`
`ng g c components/template/nav`
`ng g c views/home`
`ng g c components/template/header`
`ng g c views/product-crud`
`ng g c components/product/product-create`
`ng g d directives/pink`
`ng g d directives/for`
`ng g s components/product/product`
`ng g c components/product/product-read`
`ng generate @angular/material:table components/product/product-read2`
`ng g c component/product/product-update`
`ng g c component/product/product-delete`Schematics Material
https://material.angular.io/guide/schematics