Questions tagged [web-development-server]

Use this tag for questions related to a Web-development Server, i.e. the backend/server side of a web application, when it comes to its development.

can be used in several situations, so please use one or more additional tags to better describe your case.

1473 questions
2
votes
1 answer

How do I get Pythonanywhere's web app to work with my new files?

I am using Pythonanywhere to host a simple Flask web app for an academic project. The tutorial set me up with a simple flask_app.py hello world file that showed up at the url provided. I then deleted that example file and used the bash console to…
2
votes
2 answers

File Upload Handling with Pynecone

I want to create a file sharing website in with pynecone. Is there a go-to way to upload files and save them on the server? The documentation says to use React components if there aren't any Pynecone specific components, but I wanted to know if…
madurin123
  • 31
  • 1
2
votes
0 answers

react-dom.production.min.js:189 TypeError: o.map is not a function

code working in development but not working in production. when i uploaded on vercel its not working. this is error -> react-dom.production.min.js:189 TypeError: o.map is not a function at gd (Home.jsx:31:15) at xo…
2
votes
0 answers

How does the browser cache the API response?

I'd like to achieve a deep knowledge about caching mechanism for website assets and even API requests. I read some articles and also searched about it in StackOverflow. There are some examples which show that, if you set for example: max-age: 20;…
2
votes
3 answers

node module not found .MODULE NOT FOUND

node app.js node:internal/modules/cjs/loader:998 throw err; ^ Error: Cannot find module 'C:\Program Files\nodejs\node_modules\npm\app.js' at Module._resolveFilename (node:internal/modules/cjs/loader:995:15) at Module._load…
2
votes
1 answer

How to add custom property in Express req object when using Typescript

I am trying to convert a user authentication API written in JavaScript to TypeScript. My auth middleware adds the 'user object' to 'req object' if user is authenticated, now when I try to access it in my Controllers, TypeScript gives error 'Property…
2
votes
1 answer

How to point frontend towards local backend server for local testing

I'm developing a full-stack web app, which has both a frontend and a backend. In production, my frontend will be hosted at https://frontend.com, and my backend at https://backend.com. It seems reasonable to hardcode the address https://backend.com…
2
votes
1 answer

Is there a way to remember a string from a user session, even after the user has logged out, so everytime they come in, it autofills?

I want to let the user login and a few actions will give them a string, this string needs to be stored somewhere so that even after they logout and login later on, the string can get auto-filled in a text box. Frontend: React Backend: Node,…
2
votes
0 answers

Is there any way to get notifications to admin site in Django when new instances of models are created in database?

I am thinking of creating a website where users will add posts and basically I will check whether the posts are are valid or not in the Admin site. I was looking if it was possible to have some type of notification inside the admin every time…
2
votes
1 answer

How would you create a server without port-forwarding for a website?

I'm at school and in on Campus housing which means I don't have access to the router to get the admin password to allow me to port-forward my website for my senior Capstone. I would like to know how to host a server that I can insert a MySql…
Matt A
  • 23
  • 3
2
votes
1 answer

Setting up user authentication in java with JDBC

I'm currently creating the login functionality of a java web application just using java and JDBC. What built in java libraries are there to make the authentication process easier. I am able to query my PostgreSQL database and retrieve user…
Nooby1
  • 49
  • 1
  • 6
2
votes
2 answers

Blazor Server available as localhost, but not within local area network. What am i missing?

sorry if this is maybe bit of an unspecific question, but i am searching for some kind of instruction since a while and i did not find any good one. I am creating a web-UI with blazor server and it's running without problems when i access the server…
beinando
  • 477
  • 4
  • 18
2
votes
1 answer

1054, "Unknown column 'work_waterlevel.id' in 'field list'" in django

I am trying to display my mysql data on a HTML page everything is working fine but when i try to display the data from mySQL tohtml page its showing 1054, "Unknown column 'work_waterlevel.id' in 'field list'") this error how to resolve this error my…
2
votes
1 answer

Is there any way to keep tasks running on server side in django?

Basically i have a bot in my django webapp when given your social media credentials it manages your one of social media accounts i was able to succesfully run it while the client is still on website and as you would expect it stopped when the client…
Jackhammer
  • 156
  • 1
  • 10
2
votes
0 answers

ERR_CONNECTION_REFUSED when trying to view software running in docker containers via url

I'm new to Docker, and have been reconstructing a test environment with instructions that were left to me by the previous developer. We have several in-house pieces of job tracking software that both the outside clients and internal employees can…