Skip to content
This repository has been archived by the owner on Nov 26, 2019. It is now read-only.
/ node-base Public archive

A project to kickstart a node app, with the common things already setup.

Notifications You must be signed in to change notification settings

robb-j/node-base

Repository files navigation

A Node Project

This project was setup with robb-j/node-base which creates a node app, with the common things already setup.

Deprecated: I now use puggle and puggle-presets to bootstrap my projects

Template Features

  • Docker build to install dependancies and package for production
  • Testing & code coverage with jest
  • Code linting with eslint & standard
  • Code formatting with prettier on git commit
  • Semantically versioned docker images using npm version

Development

# Start the app
npm run start

# Start the app and reload on file changes
npm run dev

# Update version (builds & pushes a new docker image)
# -> Uses the REGISTRY file & the npm version to tag image
npm version ... # --help

# Lint the web & test directories
npm run lint

# Manually format code
# -> This repo runs prettier on git-stage, so code is always to standard
npm run prettier

# Run the unit tests
npm test

# Generate code coverage
npm run coverage

About

A project to kickstart a node app, with the common things already setup.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published