Skip to main content

Vacation Planning

A Learning TypeScript > Interfaces 🥗 appetizer project.

Welcome to beautiful upstate New York! We're so excited you've chosen us for your vacation from the crowds and dirt of New York City. Upstate New York features majestic mountains, quaint cottages, and wonderfully relaxing river walks.

Before you can enjoy your stay, however, there's one set of problems we need you to solve. We haven't finished coding the applications to assist you in planning your stay. Could you help us up-staters?

Setup

If you haven't yet, set up the github.com/LearningTypeScript/projects repository locally.

git clone https://github.com/LearningTypeScript/projects learning-typescript-projects
cd learning-typescript-projects
npm i

Change your terminal directory to this project's:

cd projects/interfaces/vacation-planning

In one terminal, start the TypeScript compiler in watch mode:

tsc --watch

In another terminal, run Jest on whichever step you're working on. For example, to run tests for the first step in watch mode:

npm test -- 1 --watch

Steps

Notes

  • Don't import code from one step into another.