Skip to content

A starter for a node app with Jest, TypeScript and some other basic configurations

License

Notifications You must be signed in to change notification settings

charlesdobson/jest-typescript-starter

Repository files navigation

🏆 Jest Typescript Starter

A starter for a node app with Jest, TypeScript and some other basic configurations.


Table of Contents

  1. Development Environment Setup
  2. Starting the Application
  3. Testing

🔧 Development Environment Setup

Dependencies

  • node: 14.x.x
  • yarn: 1.x.x

Installation

To clone the repo:

git clone https://github.com/charlesdobson/jest-typescript-starter.git

To install all dependencies:

cd jest-typescript-starter && yarn

🚀 Starting the Application

Development

To start the application and watch for changes:

yarn serve

Production

To build the application:

yarn build

To start the application from the build output:

yarn start

🏆 Testing

Watch Mode

The run the tests and watch for changes:

yarn test

Coverage

To run the tests once and generate code coverage:

yarn test:coverage

About

A starter for a node app with Jest, TypeScript and some other basic configurations

Topics

Resources

License

Stars

Watchers

Forks