Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kanokpit-yowaratch/angular-ngrx-crud
Angular CRUD with NgRx
https://github.com/kanokpit-yowaratch/angular-ngrx-crud
angular17 jasmine json-server karma ngrx rxjs typescript
Last synced: 5 days ago
JSON representation
Angular CRUD with NgRx
- Host: GitHub
- URL: https://github.com/kanokpit-yowaratch/angular-ngrx-crud
- Owner: kanokpit-yowaratch
- Created: 2024-01-29T11:23:56.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-06T15:49:47.000Z (9 months ago)
- Last Synced: 2024-10-16T13:03:59.005Z (20 days ago)
- Topics: angular17, jasmine, json-server, karma, ngrx, rxjs, typescript
- Language: TypeScript
- Homepage: https://angular-ng-rx-crud.vercel.app
- Size: 127 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Product Master
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.1.1.
## Configuration
Local Env
```
environment = {
production: false,
PORT: 4000 | xxxx,
SERVER: "http://localhost:4004" | vercel | render
};
```Prod Env
```
environment = {
production: true,
PORT: 4000 | xxxx,
SERVER: "https://json-server-product-master.vercel.app"
};
```## Development server
Run `npm run dev` for a dev server.
Run `npm run server` for a dev api (json-server).
Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
## Build
Run `npm run build` to build the project. The build artifacts will be stored in the `dist/` directory.
## Running unit tests
Run `npm run 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 a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
## Demo
Vercel: [Product Master](https://angular-ng-rx-crud.vercel.app/)