python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Set Multer object key in node.js on the fly
I have node express routes, where I need to set a aws bucket name in a Multer Object.
When the users get logged in my app, I have an API to get the correct bucket name to user.
I call that API in a mi...
Luiz Alves
Votes: 0
Answers: 0
Keep only 5 elements in array removing the last one when pushing mongodb to always have only 5 elements
I need to maintain an array of objects in MondoDB with only 5 elements, if another element is to be added, the first one is deleted and the new one is added, but always only 5 elements. Is there any w...
OscarDev
Votes: 0
Answers: 1
Is there a way to send a session to routes.js?
so I have a separate js file that does all of my routing. Is it possible to send a session to that routing? or do I have to do it all through my app.js?
app.js
const express = require('express');
cons...
itsninjabunny
Votes: 0
Answers: 0
how to implement different roles in an angular application with JWT
I am trying to build an application with an express backend with jwt and with angular as frontend.
The problem is that I need to identify the users who log in to the application to redirect them to th...
Mat
Votes: 0
Answers: 1