Awesome
TypeScript30
This is an exercise of transforming Wes Bos's the absolutely amazing JavaScript 30 Day Challenge coded solutions from JavaScript to TypeScript.
You can view the original JavaScript solutions here and grab the course for free from here.
Installing this thing
Because it's in TypeScript, we need to compile to JavaScript before running it in the browser. The instructions below will help you get started with compiling TS to JS, watching the files for changes and spinning up a local web server as well.
- Clone the repo
git clone
andcd
into it. - Install dependencies
yarn
ornpm install
. - In one terminal window, run
yarn server
. This will spin up the local server using serve. The URL is automatically copied to your clipboard, so just open your browser and paste it in the address bar. Go to thedist
folder. - In another terminal window, run
yarn watch
. This will compile the TS fromsrc
intodist
and watch the files for changes.
Happy coding!