Skip to main content

All Questions

1 vote
1 answer
2k views

Difference between Resolvers and Controllers?

I may be overthinking it, but are controllers and resolvers the same thing in web applications? Coming from the MERN stack, everyone used to call these request processing functions "controllers,&...
twominds's user avatar
  • 129
-3 votes
1 answer
153 views

Do I need MongoDB (or another type of database) to authenticate with Google?

I'm creating a web application using Node.js and Pug, and have recently been looking at adding external OAuth authentication to this site, using Express and Passport.js. I've found a lot of examples ...
JackLidge's user avatar
  • 113
3 votes
1 answer
158 views

Storing username and password for another site in Node and MongoDB

This is not about storing my user's login details in the app, I already use hash and JWT tokens for that. There is a part of our app where we need to store the login details of the user for another ...
AlexanderKaran's user avatar
1 vote
0 answers
332 views

Refactor MVC to more scalable architecture?

Months ago I began a new web project which, in the beggining, seemed like a small application with virtually few users. I began the project by using the awesome Hackathon Starter WebApp Boilerplate by ...
HumbertoWoody's user avatar
2 votes
1 answer
1k views

Authenticate Joomla user from an external app based on Node.js, Javascript and MongoDB

I have an iOS App which currently pulls in all the data from the MongoDB using a Node.js server. Currently my API / my node server handles all the data manipulation the iOS app/Swift only displays the ...
Lorenzo von Matterhorn's user avatar
0 votes
3 answers
1k views

What is the best way to go about storing application options: file system or db? [closed]

We are looking to find the best way to store user options (skills, degrees, industries, languages, etc.) for drop downs. The options are between a JSON file we can store on the server file system or ...
Kenroy George's user avatar