Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 784 Bytes

README.md

File metadata and controls

49 lines (33 loc) · 784 Bytes

Prerequisites

  • Node Version 22

1. For Run This Applications

# install packages
npm install 

# Testing The Applications
npm check

# For Run the application
npm start

Deployment Process

  1. Cleanup: Removes existing process if running

    pm2 delete node-app || true
  2. Start Application: Launches with absolute path

    pm2 start "./src/server.js" --name node-app
  3. Save Process List: Persists PM2 configuration

    pm2 save

About The Applications

  1. Route: This Application has 2 route

    / # this will show a hello world page
    /api # this will response a json
  2. Default Port: By Default this application will run on port 3000