Posts by Renan Wallace • 33 points
3 posts
-
0
votes2
answers1326
viewsA: Error when connecting mysql instance with nodejs
Port that you will use for your application access -> 3307:3306 <- port that the container opened internally, use port 3307 in the connection of your application. const connection =…
-
0
votes1
answer59
viewsA: I need to associate variable to a key of the NODEJS object
You can use Sequelize asynchronously. Example 1: async function userController(req, res) { //Meu código const userData = await User.findOne({fullName: seller}); //Desestruturação const { support:…
-
3
votes1
answer341
viewsQ: Express with Typescript: "Element implicitly has an 'any' type"
I’m trying to dynamically generate my application routes with the Express.router() using Typescript and Node, but it doesn’t work and I’m not able to understand why. If anyone please knows what is…