Skip to content

PetrNikolas/node-email-service

Repository files navigation

Node.js email service

Node.js email service written in Typescript.

Libs

Project Setup

  1. Run npm install -g typescript.
  2. Run npm install typescript-eslint-parser -g.
  3. Run npm i eslint-config-airbnb-base -g.
  4. Run npm i eslint-plugin-import@latest -g.
  5. Clone this repo.
  6. Run npm install to install dependencies.
  7. Run npm run serve for build and serve app.

Development

  • Run npm run build to compile TypeScript files to JavaScript.
  • Run npm start to build the project and visit http://localhost:3000/.

Or you can run just only npm run serve and visit http://localhost:3000/.

Lint

  • Run npm run lint:ci to lint your code with TSLint and format code with Prettier.

Tests

  • Run npm run mocha for Mocha tests.
  • Run npm run jest for Jest tests.

Debug

  • Run npm run debug for debug your code.

Documentation