I'm trying to implement a basic login mechanism based on this answer: https://stackoverflow.com/a/8003291/5111904 In my backend I'm handling the login post req
i get the following error, when doing a docker-compose up. The app is running but cannot make any api post/get requests. The express server is using port 5000.
I want to upload three fields like: Example Data: partner_id: 3638, review: [{'product_id': 155, 'order_sku_id': 155, 'review_title': 'Orange Review','rating':
I'm creating a testing for my express app. The project has multiple test files. In each module the server instance is required at beforeEach() method and closed
What can I do in Discord.js to make suggest command? My actual code doesn't work, i have 2 types of suggestions: support server and bot. Here's my code: if (co
How do I allow multiple domains for CORS in express in a simplified way. I have cors: { origin: "www.one.com"; } app.all('*', function(req,
I am currently facing a deployment issue, can anyone help me with it? Repo: https://github.com/PradhumnaPancholi/Mail-it Error Msg: npm ERR! Failed at the serve
So basicly I have a contact form in my Express application what sends me an email with SMTP. I want to do some checks in the server-side to av
I am trying to create a profile for a user on login, after submitting the form I am getting the error as invalid props errors. As both my client and serv
My endpoints aren't working, and most likely because the server on which express is isn't running correctly. I run my files with npm run dev and my express file
I'm on Windows trying to use the debug module https://www.npmjs.org/package/debug I installed express-generator var debug = require('debug')('MyApp'); debug('
I am using expressjs with handlebars as templating engine with following code in Webstorm IDE with express generator.There is no visible handlebars require in t
I want to use some variables in my robots.txt file in Express. How can I render this file as an EJS template? I already have EJS working for .html files. app.
In my production app, saving data to a session then redirecting is completely unreliable. A console.log after saving the session shows the data has been attach
I'm trying to use express in a prototype function ioServer() { } module.exports = ioServer; ioServer.prototype.start = function() { var app = requ
I am getting the error like Error: Failed to lookup view "layout" in views directory. Below is the source code of the files as well as the folder structure. in
I am moving a project from React to Next.js and was wondering if the same authentication process is okay. Basically, the user enters their username and password
So my problem is that I cannot see the CardElement Ui component in the image below. It should be above the Order Total: $0 which is beside the payment method.
I am trying to import the sql file in express js. i try the following codes but it is not work while using mssql and fs module fs.readFile(__dirname +'/databa
I am trying to run a Node app on a newly created Heroku App from their web. I followed their steps and still I am getting errors when displaying app status. I