Skip to content

qaiswardag/nuxt_directory_and_job_board_theme

Repository files navigation

Logo

Intro

Laravel, Vue, and Nuxt, a Page Builder, Listing Directory, Blog, and Job Board Theme.

I would greatly appreciate if you could star the GitHub repository. It helps to boost the visibility of this project and encourages me to continue adding new features.

Play around with the demo app

Laravel and Vue 3 for backend

Laravel and Vue 3 has been used for for the backend part.

Check out the GitHub repository.

Setup

Make sure to install the dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install

Development Server

Start the development server on http://localhost:

# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

# bun
bun run dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

# bun
bun run build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

# bun
bun run preview

PM2

PM2 (Process Manager 2) is a fast and easy solution for hosting your Nuxt application on your server or VM. To use pm2, use an ecosystem.config.cjs: ecosystem.config.cjs

module.exports = {
apps: [
{
name: 'NuxtAppName',
port: '3000',
exec_mode: 'cluster',
instances: 'max',
script: './.output/server/index.mjs'
}
]
}
npm run build

Check port:

Identify the process using port 3000.

lsof -i :3000

Output:

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME node 21995 myissue 19u IPv6 986387 0t0 TCP *:3000 (LISTEN)

Kill:

kill -9 21995

-9 The -9 is the signal number that corresponds to the SIGKILL signal in Unix-like operating systems. The SIGKILL signal is a special signal that forcefully terminates a process. It does not allow the process to perform any cleanup or handle the signal in any way – it immediately terminates the process.

pm2 Restart process

Get Process ID. Remember to install pm2 globally

pm2 status

Restart Process. If process ID is 0

pm2 restart 0

Contributing

Thank you for considering contributing to this project!

Security Vulnerabilities

If you discover a security vulnerability, please send me an e-mail.

Get in touch for customization or any questions.

If you have any questions or if you're looking for customization, feel free to connect with me on LinkedIn and send me a message.

Feedback

I would love to hear your feedback, suggestions, or any issues you encounter while using this app. Feel free to reach out to me if you have any questions or just want to say hello. You can connect with me through:

License

This project is open-sourced software licensed under the MIT license.