https://github.com/m-thompson-code/jokes
https://github.com/m-thompson-code/jokes
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/m-thompson-code/jokes
- Owner: m-thompson-code
- Created: 2021-03-18T20:20:33.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-30T18:43:08.000Z (about 5 years ago)
- Last Synced: 2025-02-14T18:41:23.870Z (over 1 year ago)
- Language: TypeScript
- Size: 6.89 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jokes
Review on BehaviorSubject/ReplaySubject and shareReplay():
Creating an Angular Service that has the following:
1. Method that returns an Observable that publishes a value without having to make redundant API requests
2. Method that will make a new API request and all subscriptions to the first method will observe the latest published value
`npm run start` - run Angular app
`npm run server` - run local server (required for the share-replay page)
`npm run both` - runs both at the same time