|
1 |
| -# Node.js project with TypeScript, Express.js, ESLint, Prettier, ts-node, nodemon and package.json environment specific scripts |
| 1 | +# Node.js project with TypeScript, Express.js, ESLint, Prettier, ts-node, nodemon, package.json, environment specific scripts, Logging and Logrotate automation |
2 | 2 |
|
3 |
| -## #[typescript-node-project](https://shubhamsharmas.hashnode.dev/a-guide-on-setting-up-a-nodejs-project-with-typescript-expressjs-eslint-prettier-ts-node-nodemon-and-packagejson-environment-specific-scripts "https://shubhamsharmas.hashnode.dev/a-guide-on-setting-up-a-nodejs-project-with-typescript-expressjs-eslint-prettier-ts-node-nodemon-and-packagejson-environment-specific-scripts") |
| 3 | +## #[typescript-node-project-with-logging](https://shubhamsharmas.hashnode.dev/setting-up-logging-in-your-nodejs-typescript-app-a-quick-start-guide-with-typescript-node-project-and-pino-logging-libraryintegrated-with-logrotate) |
4 | 4 |
|
5 | 5 | Welcome to the TypeScript Node.js project! This repository provides complete guide on setting-up a Node.js project with TypeScript, Express.js, ESLint, Prettier, ts-node, nodemon, and environment-specific package.json scripts for local, development, QA, and production.
|
6 | 6 |
|
| 7 | +> This branch feature/pino-logging contains additional pino logging and logrotate functionality on the top of existing [typescript-node-project](https://shubhamsharmas.hashnode.dev/a-guide-on-setting-up-a-nodejs-project-with-typescript-expressjs-eslint-prettier-ts-node-nodemon-and-packagejson-environment-specific-scripts) |
| 8 | +
|
7 | 9 | ## Technologies & Tools Used
|
8 | 10 |
|
9 | 11 | 1. **Node.js**: The project is built using Node.js, allowing users to leverage the benefits of server-side JavaScript.
|
@@ -34,6 +36,10 @@ Welcome to the TypeScript Node.js project! This repository provides complete gui
|
34 | 36 |
|
35 | 37 | 14. **Linting and Formatting Scripts**: Provides environment-specific scripts in the `package.json` for linting and formatting code using ESLint and Prettier.
|
36 | 38 |
|
| 39 | +15. **Pino Logger**: Efficient logging for Node.js applications with Pino. |
| 40 | +16. **Logrotate**: Automated log rotation for managing log files. |
| 41 | +17. **Logrotate CRON Automation**: Schedule Logrotate tasks for seamless log file rotation in your system. |
| 42 | + |
37 | 43 | ## Project Setup
|
38 | 44 |
|
39 | 45 | Follow the steps below to set up the project on your local system:
|
@@ -63,4 +69,6 @@ Follow the steps below to set up the project on your local system:
|
63 | 69 | "prod": "NODE_ENV=production npm run build:start"
|
64 | 70 | ```
|
65 | 71 |
|
| 72 | +## Check the link for pino logging, logrotate details and it's code walk-through: [typescript-node-project-with-logging](https://shubhamsharmas.hashnode.dev/setting-up-logging-in-your-nodejs-typescript-app-a-quick-start-guide-with-typescript-node-project-and-pino-logging-libraryintegrated-with-logrotate) |
| 73 | + |
66 | 74 | ## Check the link for complete project details and code walk-through: [node.js-typescript-project-setup](https://shubhamsharmas.hashnode.dev/a-guide-on-setting-up-a-nodejs-project-with-typescript-expressjs-eslint-prettier-ts-node-nodemon-and-packagejson-environment-specific-scripts)
|
0 commit comments