I am trying to code a website to work with ReactJS, NodeJs and MySQL. I have been using Sequelize and it works but i realised that it allows all usernames even
I'm using MongoDB for my Express app and I know that when an ID is an invalid ID for the corresponding database, the response status code is 400 (Bad Request).
Can anyone help me with video upload in Node.JS? Currently, I am using the express-fileupload module for uploading a video it works fine till 70MB but when the
I have postgraphile running as as express middleware. For example: const pgMiddleware = postgraphile(pool, SCHEMA, postgraphileConfig); app.use(pgMiddleware);
is there any possible method for me to delete specific session from mongoDB? My scenario is to allow 'myself' to delete specific session from DB (other user ses
My getByTitle query doesnt seem to work, all my other routes and models work perfectly using params. Not sure what it is I've written wrong? For context this is
I am beginner in web dev and trying to create a Full stack project using Mysql Express React Node js. Facing this TypeError issue while using Sequalize with nod
I have two apps, one front end (react.js) and one a REST API back-end(nest.js based on express.js). How do I get the IP address of the user accessing the back-e
I have this statement to modularize my express.js api's: app.use("/api/users", require("./routes/api/users")); How to write it using import statement? inside "
my code in github, but I didn't upload the latest version: https://github.com/godzillalogan/markdownblog I use node.js and express.js framework. Database use mo
I'm working on a login, where the use consists of userImage, userName, userStatus (all send as form-data). To upload the userImage im using Multer. This is how
For some context, I'm building an NodeJS app with FoalTS which uses Express and TypeORM underneath. My question is around how to implement multiple database con
so I have a very basic file structure going but for whatever reason I cannot get the css to show up in the project when I run it on the localhost. everything el
var express = require('express'); var app = express(); var PORT = 3000; const bodyParser = require('body-parser') app.use(bodyParser.json()) app.use(bodyPar
I am getting the below error for useNewUrlParser, useUnifiedTopology, useCreateIndex: No overload matches this call. Overload 1 of 3, '(uri: string, callback:
I use the this library to use oidc with nodejs What I need is the following: user login with user password, or have the data already the session cookie. this is
For my React/Express app, I've already built my backend API in Express, including a route for posting a blog post (/api/posts). On the front end, I built a form
I have tried to make a post request, to my node server, with a base64 encoded file. I get a PayloadTooLargeError: request entity too large exception, so i wen
First time posting a question please keep it in mind when reading Things i tried: Cleared my google chrome cache and cookies, tried incognito mode, updated my n
I have a book table page to list all the books in the database, mapped with their book ID. If I click the book name, it will link to an edit book page, in this