Conclusion
Last updated on
You now have the tools to build a complete TypeScript project! 🎉
You can organize your code with functions and classes, save and read files, fetch data from the web, install libraries, and define npm scripts for commands you use often.
Now you can try the Stock market simulator 📈 project. You’ll fetch historical prices, save data locally so you can reuse it, and organize your code into functions and files. Then you’ll calculate how an investment would have changed over time.
This project builds on chapters 1 and 2. If you would like a smaller exercise first, start with the Savings calculator 💸, which uses the fundamentals from chapter 1.
As you work, pay attention to where each part belongs: fetching data, preparing it, calculating results, and displaying them. Giving each function a clear job will make the code easier to understand and update.
Both projects are in Data projects on the sidebar, ready whenever you want to practise.
Once you’re done with the projects, move on to Chapter 3, Data analysis with SDA. We’ll start crunching large datasets to answer questions we have.