sjosuerojas / cv-server

Uses Node.js es un entorno en tiempo de ejecución multiplataforma, de código abierto, para la capa del servidor basado en el lenguaje de programación JavaScript, asíncrono, con E/S de datos en una arquitectura orientada a eventos y basado en el motor V8 de Google

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Josh CV (Server)

Web solution for my personal curriculum vitae ;)

Installation

Use the package manager npm to install Josh CV dependencies

npm install



Basic Scripts


In the project directory, you can run:

Formating the code

npm format

Runs the formatter mode engines by Prettier which searches for {.js} files and fix wrong format to correct format



Starting server in Development Mode

npm start:dev

Runs the app in the development mode. Open http://localhost:6000 to view it in the console. The server will reload if you make edits. You will also see any lint errors in the console.



Starting server in Production Mode

npm run start

Enables the production mode which prevent the server to re-start





Avaible scripts with PM2

Enables the server for deplyment on a pm2 instance. Some examples of usage:

For production mode:

npm run deploy:pm2

Runs the production mode with ecosystem file that is previosly config in package.json file

Logging server:

npm run log:pm2

Runs the pm2 log comand to watch the process that is being served with the current project

Stop server:

npm run stop:pm2

Runs the pm2 stop comand & stops only this instance

Retart server:

npm run restart:pm2

Runs pm2 restart comand only for this instance

Monit server:

npm run monit:pm2

Runs pm2 monit comand





License

MIT

About

Uses Node.js es un entorno en tiempo de ejecución multiplataforma, de código abierto, para la capa del servidor basado en el lenguaje de programación JavaScript, asíncrono, con E/S de datos en una arquitectura orientada a eventos y basado en el motor V8 de Google

License:MIT License


Languages

Language:JavaScript 61.8%Language:Handlebars 38.2%