1.0.8 • Published 4 years ago

@rblock919/server-module-kit v1.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

lin

Server-Side Module Kit

Server-Side Module Kit is a starter kit for creating new server-side nestJS shared npm module.

Stack

Project Structure

    ./Makefile          -project automation orchestrator.
    ./config            -project configuration files
    ./scripts           -project scripts
    ./tests             -project test scripts

Project Configuration

    ./config/base   -common project configuration

Project Automation

digraph project {
    label="Project"
    fontname="Roboto"

    node [
        shape="note"
        color="blue"
    ]

    Project -> Install

    Project -> Analyze -> Build -> Test [
        color="green"
    ]

    Build -> Publish [
        label="Packaging path"
        color="purple"
    ]

    Build -> Deploy [
        label="Deployment Path"
        color="orange"
    ]
}

Project Scripts

    All scripts can be called via Make (as defined in the Makefile).
    Each script can orchestrate/delegate to other tools as needed to perform their function.

    ./scripts/functions.sh      -shared bash functions.
    ./scripts/install.sh        -installs development dependencies and tooling.

    ./scripts/analyze.sh        -project analysis script
    ./scripts/build.sh          -project build script
    ./scripts/test.sh           -project test executor script
    ./scripts/deploy.sh         -project deployment script
    ./scripts/publish.sh        -project artifact publishing script

    ./scripts/start.sh          -project startup script
    ./scripts/stop.sh           -project shutdown/stop script

Prerequisites

References

NestJS Docs

VS Code Links

NodeJS Links

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago