This is a POC on how easy/hard it would be to refactor a js app ( The DVD Rental Store ) to typescript
All of these must be available in your PATH
. To verify things are set up
properly, you can run this:
git --version
node --version
yarn --version # or npm --version
If you have trouble with any of these, learn more about the PATH environment variable and how to fix it here for windows or mac/linux.
After you've made sure to have the correct versions installed, you should be able to just run a few commands to get set up:
npm install
Be sure to install the dependecies from the Setup step above, then proceed to start the server:
npm run start
npm test
This will start Jest in watch mode. Read the output and play around with it.