Questions tagged [web-applications]

Web applications are applications that are accessed over the "web", which can mean the Internet, or an internal network (an intranet).

Filter by
Sorted by
Tagged with
0
votes
1answer
109 views

How to execute code "under the hood" in my no-code platform

As a learning project I started looking into how to mimic some basic features of a no-code platform. I usually code in Java/Python, have good knowledge over Javascript/HTML, but wanted to use this to ...
0
votes
2answers
41 views

Where to sync Database and Search-Database in MVC pattern

I have a website-sideproject (Application Server: Django, Database: sqlite) with "search" functionality and I've recently stumbled over this problem. When you have a full-text-search-...
-1
votes
1answer
56 views

How do I authenticate API request when I dont have credentials for the other end

I am developing an app in which I have to fetch data through company provided APIs. All the authentication is done on their end, so I don't have to build my own APIs. However, There are some ...
0
votes
3answers
117 views

Should I separate the public and private portions of an application into two separate apps?

So I'm currently running an analysis task for my company. I won't go into too much detail but we are dealing with medical records and other confidential data. Previously this application was only used ...
-1
votes
3answers
131 views

How do web apps provide support without revealing customer data?

I'm on a dev team where the product manager wants to allow internal users to "impersonate end-user and show the site exactly as the user sees it". I argue that this raises security flags and,...
3
votes
1answer
86 views

Distributing Web application to multiple customers

I am building an app (stack is Python/Django/React and DB is PGSQL) that is supposed to be used internally in companies to track their work, assign people to different tasks, throw some statistic data,...
0
votes
0answers
28 views

Web application on multiple domains

I am developing a web application that will be single-tenant (one customer, one server). /security reasons, based on customer requests, one customer has more functions than another.../ (currently web ...
0
votes
1answer
98 views

How to set up 2 versions of Single Page Application and serve the right version to users based on the backend setting?

We develop a Single Page Application (SPA) for enterprise clients. When we deploy a new version of our SPA we would like to upgrade a subset of clients whilst leaving the other clients on the more ...
0
votes
2answers
97 views

JWT logout: Sharing blacklisted invalid token among services

I am working on a microservices project involving 4 services - Auth Service, Service-A, Service-B and Service-C. All the services are implemented using Spring Boot. The Auth Service is responsible for ...
0
votes
1answer
45 views

Bidirectional end-to-end communication between native application and web application

I'm in the planning stages of a project involving communication between users in the browser environment and numerous devices running in a widely distributed manner. The end goal is that users using ...
3
votes
2answers
343 views

Why do backend web frameworks use "MVC" when they have no persistent UI to update?

Model View Controller (MVC) is focussed on UI based applications. In MVC the model notifies the UI (view) when its values change and the view then decides what and if to update. I can understand this ...
0
votes
0answers
64 views

Implementing login sessions in SwiftUI-WebView app that connects to web service

I am in the process of developing a business app for iOS using SwiftUI, that will have CRUD operations to logged in users. Most of the functionality will be provided using a webview (with WKWebView), ...
-1
votes
1answer
69 views

How to optimize the request time for large data response?

I have created a dashboard for rendering a list of clients into a DataTable. Below shown is the data model structure: When I had a few records in the clients schema, let's say a thousand rows, the ...
1
vote
0answers
31 views

Web rendering - Trying to figure out the different kinds of rendering

I have a background as a full stack web developer, but didn't code professionally speaking for about 8 years, now focusing on technical and/or functional analysis. In the meanwhile, many things ...
1
vote
1answer
75 views

How to architect a collaborative web application for live updates?

When using collaborative applications like issue trackers, planning tools, etc. it can be very frustrating to have to keep hitting refresh to make sure you're viewing the same state as your colleagues....
2
votes
1answer
129 views

CQRS-style "API" for frontend good or bad idea?

I'm building a lot web applications for internal use, my setup is basically ASP.NET Core, React/Angular and Typescript. I started to find my self duplicating a lot of code from C# into TypeScript ...
0
votes
0answers
31 views

How to create a news feed (or news email) from a database with questions, answers and comments?

I have a web app where users can ask questions and get answers, ideas and comments from other users. Backend is Django Rest Framework with a Postgres Database, Frontend is React. Now I want to add ...
0
votes
1answer
71 views

Websockets vs Ajax for live search

For building a simplistic live search system, I trying to decide whether to use Websockets or Ajax. Implementation wise, for every letter the user types (or maybe every 0.5 seconds), a database query ...
2
votes
0answers
60 views

How to back out of a website development job that's way out of my league [duplicate]

TLDR: project scope has crept beyond my capabilities and I need an early exit strategy (in both parties' best interest) Early last year I took on a gig to develop a web application for a financial ...
-3
votes
1answer
79 views

Serving large file (dozens of GB) to client from a server-side query to the Azure SQL database?

I have an SQL database in Azure that is ~4.5 TB / 150 million rows worth of data. Users will need to query this database for large sets of data. Right now, I am having users submit their requests ...
1
vote
1answer
54 views

Design help for web application that will run as separate instances with different content

I've built an RSVP web application with a React front end, Node.js backend, NGINX webserver, SQL database and hosted on a DigitalOcean Droplet with Ubuntu. The issue is, every time I want to launch ...
1
vote
2answers
580 views

Solution to notify users Single Page Application (SPA) static resources have updated if users don't refresh their browsers

I need to design a way to notify my user the SPA has updated if they don't refresh their browsers, i.e. if no requests to get index.html is made after the initial load, how do I notify users the ...
2
votes
2answers
285 views

What is the benefit of having separate web servers and application servers?

Most of the web applications that I have seen developed in my organisation , have the following components : JS App (from browser) -> Web server -> Service(s)/Application server(s) -> ...
2
votes
3answers
419 views

Email Confirmation links must be GET, but not safe

When a user signs up to a web app, they often get a confirmation email. This email will contain a link. Once the user clicks the link, the app confirms the user's account as correctly associated with ...
-1
votes
2answers
136 views

What should be preferrable "architecture" for college website: Responsive vs PWA / Hybrid / Native / Flutter

We have a college management system developed over a decade as and when requirements came along. The project team also comprised of students currently doing graduation in the course. These students ...
1
vote
2answers
86 views

Good OO design pattern for variant return type needs

I've got a validation function something like this (pseudo-code): public function validate(Thing thing) { if (thing.a != "a") { return false; // most of the time } if (...
-1
votes
1answer
99 views

Hotel restaurant menu ordering process

With my team I’m facing a problem. For a hotel, we are asked to develope a cloud application that will let guests taking orders from hotel restaurant menu trough their devices. To access the menu, ...
0
votes
1answer
57 views

How would one go about connecting API routes from one GitHub repository to another?

This may be a basic question, but I'm having some difficulty finding an answer online. My project is a MERN application that draws from an existing open-source API. This API utilizes a database that I'...
1
vote
1answer
78 views

Is bytes as request parameters as rest endpoint a security risk?

I am working on an application where user can send in an absolute path of an image or URL as string in API endpoint. My code is able to handle that. Now I have been asked to add the code which can ...
-2
votes
1answer
38 views

Practices to detect tenant in multi-tenant applications

I am wondering what are the best practices to build multi-tenant applications, specifically ways to obtain tenant identifier or detect tenant. I am aware of domain based tenancy where domain tells ...
0
votes
1answer
36 views

App-Website Communication for Ionic/vue.js App

Currently I am designing a cross-platform mobile app using Ionic and vue.js. That app enables users to create a game, add players and play rounds. When the game is played, a score for each player will ...
-2
votes
1answer
145 views

Possible to have completely offline PWA?

I've been learning about Progressive Web Apps and how they can provide more offline functionality within a native app-like feel. I want to give users the option to download a whole site (all pages/...
0
votes
0answers
12 views

How to split/filter external data stream and send to different clients?

I am working on a web application that involves displaying real-time stock information. I am hoping to use IEX firehose, which means I would have 1 WebSocket open with IEX through which all their ...
3
votes
2answers
148 views

How to assure users that an open source web application actually runs the publicized source?

I'll explain my case as an example, but I think the problem applies to other web projects as well: I have developed a Telegram bot in Python and made its source public. Then, I have deployed the bot ...
4
votes
1answer
163 views

Accessing Animal not belonging to User: 400, 401, 403, 404, other?

Consider animals being some REST resources. User has animals assigned to him. The endpoint /api/animals/{animalId}/feed is used to feed a given animal by the authenticated user. User should not be ...
0
votes
0answers
50 views

How can I design a secure content verification web application?

In my country, there is a high number of fraudulent doctor's sick letter as they are manually written on paper. I'm designing a web application to combat this issue and have the whole process ...
0
votes
0answers
60 views

Providing guest users with full accounts vs only sessions (a.k.a. guest checkout)

I'm working on a web application with JWT authentication (with token stored in cookie) and an SQL database. Upon loading, the frontend makes a request to the backend to determine whether the user is ...
0
votes
0answers
39 views

How to authenticate an API in a headless web-app?

For learning purposes, I'm trying to build an Expense Tracker web-app from scratch. I'm in the process of designing it before coding it. I decided to attempt to make it a Headless Web-app: The main ...
5
votes
1answer
155 views

How does Robert Martin's "Clean Architecture" deal with Progressive Web Apps (PWAs)?

According to Robert C. Martin's "Clean Architecture" you should try to structure your system in such a way as to separate low-level concerns from high-level domain concepts. Following this ...
2
votes
0answers
37 views

Scaling Order Management System for ecommerce

Tech Stack: I am using MySQL 8 with InnoDB engine. Application is built using Java with Spring & Hibernate. Database is hosted in AWS RDS and web apps in EC2. I have two primary tables for ...
1
vote
1answer
214 views

Best approach for developing a stateful computation-heavy application with a rest-api interface using python?

I want to develop an end-to-end machine learning application where data will be in GPU-memory and computations will run on the GPU. A stateless RESTfull service with a database is not desirable since ...
-1
votes
1answer
57 views

How to record the sequence of events effectively when there is a logical flow runs over various event notifications?

Let me explain what I mean there is a logical flow runs over various event notifications based on our web app, which is event-driven and it is quite common in my opinion. User clicks a button to ...
3
votes
1answer
332 views

DDD and CQRS in web applications

Premise A web application that has a frontend / backend separation. The frontend can be the JS framework of the month, which talks to a REST API in the backend. The backend part of the system accepts ...
0
votes
0answers
33 views

MVC pitfalls for POSTs when rev proxy down, caching failed POSTs, none user Auth

Intro My question is I personally spent last 2 years working on a Django project for a factory, it uses the standard MVC pattern. The app uses the factory IP for authentication for terminals in the ...
2
votes
1answer
151 views

Should a Web Application File URL Have Public or Private Access

I am debating whether to give my files a public url or a limited private one. I am hosting various files for a mobile/web application. These will include product images and videos. Currently only ...
0
votes
1answer
45 views

SPA browser-based routing: external routing table for both frontend (React) and backend (Go) use

I have a Single Page Application that uses React-Router and is served via Go backend. The pre-built static app is accessible at app.com which then uses app.com/api to load dynamic data. If a user goes ...
-1
votes
1answer
117 views

Best practices for data manipulation to use in admin dashboard application?

I am trying to create admin dashboard to track sales and inventory. Using React front end and Django rest backend API. Right now I am pulling sales and would like to make some charts. What's the ...
-1
votes
1answer
98 views

How to verify a production website corresponds to a certain github repo commit when a company claims they are the same

A company makes their website client side open source and claim that it is exactly equal to a certain version that can be found in a github repo. I want to verify their production website (client side)...
1
vote
0answers
65 views

Best practices for embedding an application in a website

I've written an embedded app in Javascript/HTML/CSS that allows people to schedule services. Here is an example installation in production right now: https://azureautodetailing.com/schedule-online.php ...
-1
votes
1answer
262 views

What are downsides to opening local html files in the browser?

Let's say you have a scenario where you want to build a simple web stack (html/css/js) prototype to share with someone. I am a little unclear on whether or not I want/need to use a small web-server to ...

1
2 3 4 5
21