This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project includes configuration for PM2, a production process manager for Node.js applications.
To manage the production application:
# Start the application
pnpm pm2:start
# Check status
pnpm pm2:status
# View logs
pnpm pm2:logs
# Monitor CPU/Memory usage
pnpm pm2:monit
# Restart the application
pnpm pm2:restart
# Stop the application
pnpm pm2:stopThe PM2 configuration is stored in ecosystem.config.js and can be modified to adjust settings like memory limits, instance count, or environment variables.