bulletproof-nodejs
bulletproof-nodejs copied to clipboard
Implementation of a bulletproof node.js API 🛡️
Sorry, I am new to the NodeJS and don't have the proper idea to build the NodeJS API. My question is that how can we build this "bulletproof-nodejs"? I went...
Hello , I am facing issue for getting injected model instance in test case here is the detail I have test file called inventory.service.test.ts ``` import { Container } from...
please help me out with deployment of the code in Azure Web App.
When running npm run build, getting Property 'error' does not exist on type '{}' in src/api/middlewares/attachCurrentUser.ts on Logger. Why?
- Easy DB setup with Docker - Revised Auth - Commented out Mailgun to make contributions easier (no need for paid API keys) - Change NPM for Yarn Just a...
Hi, First of all thank you for sharing this node-js project skeleton, and writing a blog post about it :) I was wondering if you are aware that event dispatch...
Hey @santiq First of all thank you so much for your articles and boilerplate code, you're a true inspiration and a great teacher. Sorry to bother you if you're busy...
Maybe it's not very important, but I understand that even if `SendWelcomeEmail()` is declared as an async function https://github.com/santiq/bulletproof-nodejs/blob/ee0e80dfba34f7e9b658a4ca4cedf1dd6970511d/src/services/mailer.ts#L10 in reality it's not: https://github.com/santiq/bulletproof-nodejs/blob/ee0e80dfba34f7e9b658a4ca4cedf1dd6970511d/src/services/mailer.ts#L22-L23 In order to be async, and...
I'm trying to write unit tests for service layer bu failing to create mock dependencies, mock Models mock EventDispatcher. Can anyone write an example unit test or at least show...
Hello! I've been following this pattern for my personal project, but I am reaching a point where I think that the controller layer (the express routes) is getting a bit...