- Issue an
npm install
command.
- Issue an
npm run dev
command. - Initiate a
GET http://localhost:4400/pets
(e.g. with the REST Client from therequests.http
) file.
- Issue an
npm test -- pets.test.ts
command. - This run the tests from the
pets.test.ts
file to check the test framework is set up properly.
- Start a development server in watch mode:
npm run dev
. - Run all tests:
npm test
. - Run a specific test file
npm test -- <file name>
. - Create a production build (TS -> JS):
npm run build
. - Start the production build:
npm start
.
Check the tasks.md for the details.