Skip to main content

All Questions

0 votes
0 answers
74 views

How can I handle file uploads in a React frontend with an Express.js backend and store the files in MongoDB?

I'm working on a full-stack web application using React for the frontend and Express.js for the backend. I need to implement a feature where users can upload files through a form in React, and these ...
Pixel Developer's user avatar
0 votes
0 answers
24 views

AngularJS manual routing with ExpressJS

I am using AngularJS in the client side combined with ExpressJS in the server side. When pages are loaded in the browser all works fine there: clicks on the various button and differents angular ...
shogitai's user avatar
  • 1,981
0 votes
2 answers
87 views

AngularJS --> ng-view not loading js

The code works when the day1.js script is loaded in the index and if a certain snippet from the HTML template is pasted into the file, but it doesn't work when I switch to the page using ng-view with ...
lhnaseeb's user avatar
1 vote
0 answers
52 views

Trying to implement angularJs $uibModal but is it not popping up. Giving an error angular.min.js:129 Possibly unhandled rejection: backdrop click

Trying to implement angularJs $uibModal but is it not popping up. Giving an error angular.min.js:129 Possibly unhandled rejection: backdrop click (function(){ angular .module('ubwinoApp') .controller('...
Mzala123's user avatar
0 votes
0 answers
774 views

How to run Node app locally from Github repo?

I want to run this https://github.com/supernoir/heroines-of-science locally. I did the following steps Cloned the app locally Then did npm install to download all the dependencies Opened the app ...
Hamza Hanif's user avatar
0 votes
2 answers
554 views

sending array in cookie using express is not working

I am currently working on a project, where I need to give the user an array. For that, I am trying to use the res.cookie() function. However, whenever I try to give the user an array as cookie data, ...
rbrbrbrb8's user avatar
-1 votes
1 answer
476 views

find substring from from array then remove it in javascript [duplicate]

I would like to find if my string contains any element of the array if it did I would like to remove it for now I could manage to find if it exist or not but not sure how to remove it here is a sample ...
alltheway's user avatar
1 vote
3 answers
760 views

Reactjs Expressjs end to end encryption

I am not sure this question already been asked here. But I could not see such a question so far. I have a RESTapi written in Express.js. That RESTapi is connected to a React.js web app. RESTapi is ...
margherita pizza's user avatar
0 votes
1 answer
207 views

getContacts is not able to get information from web server

I am a beginner in Node JS, Express JS and Angular JS, I am trying to develop a contact application, at server side programming I am using Node JS and Express JS which is working fine and MONGO DB I ...
Muhammad Hassan's user avatar
-3 votes
2 answers
182 views

Asynchronous and callback in javascript [closed]

I'm new in this JavaScript language and stack overflow also.I watched many videos and blogs about synchronous, asynchronous and callbacks but here is my doubt which I'm not able to clear that if ...
Yogesh's user avatar
  • 1
0 votes
1 answer
33 views

How To config $routeProvider with 'app.config' no longer in Express 4? (Angular JS)

The problem I'm having is app.config is said to be the only block where $routeProvider can be called. With Express 4 removing app.config, how should it be called now? Previously : var app = ...
Daniel Archibald's user avatar
7 votes
1 answer
731 views

how can Export the class and define middleware in typescript

I create the class user where i just only define the get method but when i call the class in middleware and use it, it not show any error but when i run the code it show server not found. when i del ...
usman imtiaz's user avatar
4 votes
1 answer
32k views

Error occured while trying to proxy to: localhost:4200/api/v1/generate_uid

I am following a tutorial (https://levelup.gitconnected.com/simple-application-with-angular-6-node-js-express-2873304fff0f) on creating an app with Angula CLI, Node.js and Express. I use a proxy to ...
Théo Neubeck's user avatar
0 votes
1 answer
97 views

how to fix html page not rendering

In my application I have a blog home/list/add pages that do their respected parts. BlogHome or home.html will just show my name and a message that is in the controller. The home page is not ...
CamWhis's user avatar
  • 17
0 votes
2 answers
1k views

how to make relationship between 2 tables using Node.js Express.js and Sequelize ORM

Hi guys I'm in process of developing a web application using angular and node.js in the backend part, I used express.js and Sequelize ORM to make the server and the database but while I'm creating the ...
oussema hedhlie's user avatar

15 30 50 per page
1
2 3 4 5
68