Giter Site home page Giter Site logo

stencil's Introduction

stencil

A Node.js microservice template.

Quick Start

  1. Clone the project.
  2. Run make run dev to start the development environment and attach to a shell process within it.
  3. Execute commands necessary for development (e.g. yarn start, yarn debug:start, and yarn add [packages ...]).
  4. Read the Introduction tutorial.

Documentation

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

You can access the latest version of the JSDoc documentation through this link.

This documentation is built and published on every tagged release.

Services

  • dev, this service represents the development environment.
  • prod, this service represents distributable containerized version of the project.

Makefile

Targets

## Development Targets
make build [--] [options] [SERVICE...]    # Build or rebuild services.
make up [--] [options] [SERVICE...]       # Builds, (re)creates, starts, and attaches to development service.
make rm [--] [options] [SERVICE...]       # Force stop and remove service containers, and any anonymous volumes attached to containers.
make run [dev|prod]                       # Run a project service.
make down [--] [options]                  # Stop and remove all service containers, volumes, and networks.
make clean                                # Clean the project of stateful files.
make test [lint|unit|func]                # Run the project tests (lint, unit, func).
make debug [start|func|unit]              # Run the project scripts with debugging enabled.

## Continuous Integration Targets
make build-npm                            # Build the Node.js module and pack it as a tarball.
make publish-npm                          # Publish the Node.js module from the packaged tarball.
make build-docker                         # Build the production Docker image and save it as a tarball.
make publish-docker                       # Publish the production Docker image from the saved tarball.
make build-docs                           # Build the project documentation.
make publish-docs                         # Publish the project documentation.

stencil's People

Contributors

jshbrntt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.