This project was generated using Angular CLI version 19.0.6.
initial setup:
nvm install (or nvm use if you already have the version installed)
npm install
cp db.json.dist db.jsonTo start a local development server, run:
npm startOnce the server is running, open your browser and navigate to http://localhost:4200/. The application will automatically reload whenever you modify any of the source files.
- base component
sailors-listto show the list of Sailors - service
sailor.service.ts
logincomponent, reactive formfake-auth.service.ts- angular router with guard protection
- inject-based dependency injection with
inject() - pass data to component with
@Input
add-sailorcomponent, reactive form validation- delete sailor
- event emitter with
@Output() - signals
update()
sailor-detailandsailor-commentscomponents- use of
ActivatedRouteservice - deferred loading with
@defer - angular signal inputs:
input()andeffect()
- filter sailors
- template driven form
- edit sailor
- json-server, http requests
- reusable
resource.service.tsto manage any resource with signal rxjsfor crud actions- server side filter with
toObservable
- testing