You can view the slides here.
To run exercises, you have to go to "exercises" directory, run npm install
to init the dependancies.
To run an exercise, you can first npm run tsc XXX/FILE.ts
and after node XXX/FILE.js
or run the script corresponding to exercise:
npm run 00
npm run 0-intro
npm run 1-sequences
npm run 2-Observable
npm run 3-RxObservable
Each directory has a solution.ts file that contains the solution of exercice. You can test it by running npx jest
To run the tchat exercices, simply run npm install
at the root of repository to init the dependancies.
A websocket server will be run on port 3000 and the app is available on port 8080.
npm start
run the final solution
To run a step of the exercice, simply run npm start --step=XXX
Each exercise has two directories:
- a clean directory to get you started (ex: exercice-3)
- a solution directory (ex: exercice-3-solution)
to go to a step run the npm script with --step=XX :
npm start --step=exercice-3
for an exercisenpm start --step=exercice-3-solution
for the solution
To play with RxJS in devtools for livecoding, you can use this snippet : https://gist.github.com/jefBinomed/ddafcbb1932c865690c792b3fd3f5286