https://github.com/kitpymes/angular-abm
CRUD Angular
https://github.com/kitpymes/angular-abm
angular crud typescript
Last synced: about 1 month ago
JSON representation
CRUD Angular
- Host: GitHub
- URL: https://github.com/kitpymes/angular-abm
- Owner: kitpymes
- Created: 2020-01-08T09:55:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T13:30:55.000Z (over 3 years ago)
- Last Synced: 2023-03-07T07:21:56.065Z (over 3 years ago)
- Topics: angular, crud, typescript
- Language: TypeScript
- Homepage: https://angular-abm.netlify.app/
- Size: 619 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular Abm
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.3.19.
[](https://app.netlify.com/sites/angular-abm/deploys)
# Get started
### Clone the repo
```shell
git clone https://github.com/kitpymes/angular-abm.git
cd intern-angular
```
### Install npm packages
Install the `npm` packages described in the `package.json` and verify that it works:
```shell
npm install
npm start
```
The `npm start` command builds (compiles TypeScript and copies assets) the application into `dist/`, watches for changes to the source files, and runs `lite-server` on port `3000`.
Shut it down manually with `Ctrl-C`.
#### npm scripts
These are the most useful commands defined in `package.json`:
* `npm start` - runs the TypeScript compiler, asset copier, and a server at the same time, all three in "watch mode".
* `npm run build` - runs the TypeScript compiler and asset copier once.
* `npm run build:watch` - runs the TypeScript compiler and asset copier in "watch mode"; when changes occur to source files, they will be recompiled or copied into `dist/`.
* `npm run lint` - runs `tslint` on the project files.
* `npm run serve` - runs `lite-server`.
These are the test-related scripts:
* `npm test` - builds the application and runs Intern tests (both unit and functional) one time.
* `npm run ci` - cleans, lints, and builds the application and runs Intern tests (both unit and functional) one time.
## 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](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).