
How-ToWeb Development
I built a CLI tool to stop copy-pasting my backend boilerplate
via Dev.to WebdevAmmar Shaikh
Every time I started a new Node.js project I was doing the same thing: create src/db/db.js create src/app.js set up express, cors, dotenv copy asyncHandler, ApiError, ApiResponse utils So I built templr-js. npm install -g templr-js save your perfect setup once templr save mybackend use it forever templr use mybackend No cloud. No config files. Stored locally on your machine. node_modules and .git are never copied. Built it in a day with pure Node.js — fs, path, os. No dependencies. npm: npmjs.com/package/templr-js github: https://github.com/Ammarfrfr/templr-js
Continue reading on Dev.to Webdev
Opens in a new tab
0 views

