Skip to content

aamfahim/fragments

Repository files navigation

Fragments

Libraries used

  • Node.js - JavaScript runtime environment
  • Curl - Command line tool and library for transferring data with URLs
  • Pino - Very low overhead Node.js logger.
    • Pino-http - Pino-http is a middleware for HTTP frameworks like Express.jsm that integrates Pino with web applications.
    • Pino-pretty - basic prettifier to make log lines human-readable.
  • Helmet.js - Helmet helps secure Express apps by setting HTTP response headers
  • Stoppable - Stoppable stops accepting new connections and closes existing, idle connections (including keep-alives) without killing requests that are in-flight
  • Jq - The jq utility is a powerful way to format and query JSON data

Terminal Commands Used

  • npm init -y
  • npm install --save-dev --save-exact prettier
  • npm install --save-dev eslint
  • npm install --save pino pino-pretty pino-http
  • npm install --save express cors helmet compression
  • npm install --save stoppable
  • npm install --save-dev nodemon

Scripts available

Script Use
npm run lint Run eslint and make sure there are no errors that need to be fixed
npm start Start the application with node
npm run dev Start the application in dev mode using nodemon with log level debug
npm run debug Start the application in debug mode using nodemon with log level debug

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published