/starter-typescript

Starter kit for TypeScript

Primary LanguageTypeScript

Starter TypeScript

Prerequisites

  • IntelliJ IDEA or VS Code
  • Node.js v18

Getting started...

  • Open IntelliJ
  • File -> New -> Project from Version Control -> URL = git@github.com:simonrenoult/starter-typescript.git -> Clone
  • Wait for Intellij to load everything
  • Open a terminal and move to the directory where you cloned the project
  • Run npm ci
  • Run npm start
  • Server has now started on port 3000
  • Navigate to http://localhost:3000/hello/simon, you should see "Hello simon"

Add, modify, remove tests

  • Open Saysay-hello.service.spec.ts in src/
  • Modify tests as you wish

Run tests

  • Run npm test