Skip to content

How we can do CRUD operation static or dynamic in Angular

Notifications You must be signed in to change notification settings

ankitkumarsharma/angular-crud

Repository files navigation

AngularCRUD

This project was generated with Angular CLI version 11.0.5.

Demo Url

URL https://ankitkumarsharma.github.io/angular-crud/

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

Backend Steps

  1. create tsconfig.json .env
  2. npm install cors dotenv express mongodb
  3. npm install --save-dev typescript @types/cors @types/express @types/node ts-node
  4. npx ts-node src/server.ts

Frontend Steps

  1. npm install -g @angular/cli
  2. ng generate interface user
  3. ng generate service user
  4. ng generate component
  5. ng serve

More Feature

Coming soon.

About

How we can do CRUD operation static or dynamic in Angular

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors