Skip to content

joaquimnetocel/exampleNode

Repository files navigation

NODE.JS EXAMPLES 📦

DESCRIPTION

THIS PROJECT CONTAINS EXAMPLES AND CONFIGURATIONS FOR NODE.JS.

NODE IMAGE

TOPICS

THIS PROJECT IS ORGANIZED BY TOPICS. CLICK HERE TO ACCESS ALL THE TOPICS.

DOWNLOAD

YOU CAN GET THIS PROJECT IN THE FOLLOWING WAYS:

  • CLONNING THIS REPOSITORY USING GIT:

    git clone https://github.com/joaquimnetocel/exampleNode.git
  • DOWNLOADING THE REPOSITORY HERE.

QUICK START

  • INSTALLING THE DEPENDENCIES:

    npm install
  • RUNNING THE PROJECT

    # RUN ON DEVELOPMENT MODE WITH TYPESCRIPT:
    npm run tsc-dev
    # RUN ON DEVELOPMENT MODE WITH ESBUILD:
    npm run esbuild-dev
    # RUN ON PRODUCTION MODE
    npx tsc
    node ./folderDist/index.js
    # BUNDLE WITH ESBUILD AND RUN ON PRODUCTION MODE 
    node esbuild.production.config.js # THIS IS GOING TO CREATE/BUNDLE ./folderBundle/index.js
    node ./folderBundle/index.js

CONTRIBUTING

YOU ARE WELCOME TO CONTRIBUTE WITH:

  • 🔀 PULL REQUESTS AND
  • ⭐ GITHUB STARS

😃