{"repo":"GeekyAnts/express-typescript","free":true,"listed":false,"github":"https://github.com/GeekyAnts/express-typescript","clone":"git clone https://github.com/GeekyAnts/express-typescript.git","description":"Express + TypeScript + Boilerplate for Web / API App","language":"TypeScript","stars":1260,"topics":["express","typescript","boilerplate","exception-handling","node-cluster","logging","express-typescript-tutorial","express-typescript","express-typescript-boilerplate","express-docker"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"A boilerplate for Node.js App. This boilerplate is built using Express.js web framework, and is using Typescript Lang for writing the app's logic. It uses Node's Cluster API, this helps us to take advantage of multi-core systems & to handle the load. For storing custom constant configurations within the process.env - DotEnv package is used. For Database - Repo contains the use of Mongoose (ie. MongoDB object modeling for Node.js). For Cache - Repo contains the use of memory-cache (ie. A simple in-memory cache for node.js). For Routing - Repo contains the use of express-router & have distributed Routes into two files ie. Web Routes & API Routes. For Route Auth Middleware - Web routes are configured with CSRF Token while the API routes are configured with JSON Web Token. For Strategies Auth - Repo contains the use of the Passport.js. Passport.js is compatible with Express.js and is authentication middleware for Node.js. For Logging - Repo uses custom Log class built in middlewares folder, and it creates logs file by date & removes the log files after 'X' days (You can define that 'X' in the .env file). For Handling Exception - Repo contains two classes ie. Handler & NativeEvent . To Log - use Log.info('Your message should go here!') . Other options for logging are Log.warn , Log.error & Log.custom . For views - Repo contains the use of PUG template engine. For background queues - Repo contains the use of Kue. For more details, please review the Queue class. Contents Global Requ","default_branch":null,"files":null,"tree":[],"storefront":"/r/GeekyAnts","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GeekyAnts/express-typescript/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}