Skip to content

codingwithmanny/nodets-bootstrap

Repository files navigation

Version Build codecov

NodeTS Bootstrap

This is a base NodeJS TypeScript App built with express and all configurations files included.

This repository is meant to be a base to build on top of for building an API.

Copy This App

git clone https://github.com/codingwithmanny/nodets-bootstrap myproject;
cd myproject;
rm -rf .git;
git init;
git remote add origin https://github.com/your/newrepo;

Requirements

  • NodeJS 18.12.1 or NVM
  • pnpm

Local Setup

While in project directory:

Step 0 - (Optional) NVM Installation

nvm install;

Step 1 - Install Depencies

yarn install; # npm install;

Step 2 - Server Start

Development:

pnpm dev; # npm dev;

Production:

pnpm start; # npm start;

Production Commands

Build

pnpm build; # npm run build

Build & Serve

pnpm start; # npm start

Tests

All Tests

pnpm test; # npm run test;

Jest Watch

pnpm test:jest; # npm run test:jest;

Jest Coverage

pnpm test:coverage; # npm run test:coverage;

Eslint

yarn test:lint; # npm run test:lint

Newman

pnpm test:newman; # npm run test:newman

Packages

No packages published

Languages