Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [backend]

The tag has no usage guidance.

4
votes
2answers
99 views
+50

Clearing up misconceptions about a Flask backend and client-side rendering

I am building a website and along the way I have come across a lot of things I didn't know about and was hoping to get some help in understanding some of them. I started building a website using ...
-3
votes
2answers
141 views

Why are multiple backends in this system? [closed]

I am trying to understand the architecture of the system described in this patent about aggregating and analyzing confidential data: https://patents.justia.com/patent/20180089196. The general ...
0
votes
0answers
8 views

Running a local instance of ElasticSearch on a REST API - is this feasible?

So, I'm looking at elastic search api, and the way you interact with it is, you excecute the ES binaries and make http requests on localhost (to insert, delete, whatever). Eg: curl -XPOST https://...
0
votes
3answers
100 views

Modelling recurring events

I am in the process of writing a web app to track expenses and which will be multiuser. Everything is fine with a single expense, but I am struggling to find the best way to represent recurring ...
0
votes
0answers
11 views

posting data to graphql endpoints

What I understood with GraphQL is a single endpoint with schema as post body. No doubt it has many advantages but what I couldn't understand is how to post data to the backend? Most of the examples ...
-1
votes
1answer
122 views

Debugging code in production?

I've come across a problem that doesn't occur in our development environment or test environment, but does occur in our production environment. Obviously, this environment is pretty locked down, and ...
1
vote
2answers
57 views

Securing e-commerce administrator panel with a VPN

I am developing the back-end of an e-commerce system, which has customer and administrator type accounts. These two roles do not overlap, administrators are there to do the back office work, while ...
0
votes
2answers
66 views

Proper way to manage database for distributed backend architecture

My application backend consists of a bunch of standalone tasks linked together by messaging queues. They all need to access the same SQL database in order to run and store their results. Right now, ...
1
vote
1answer
86 views

Where to put intermediary business logic in a backend

Consider you have a GravityLogic and a WeakForceLogic class. In themselves both provides tons of business logic. Now you want to create interactions between those which produce a complete different ...
0
votes
1answer
39 views

Best practices for maintaining data contracts with different ends of the system

I am currently researching best practices for data contracts between components in our system. Right now we've stuck to using Word documents and JIRA tickets when the contract changes. The data ...
0
votes
0answers
38 views

GraphQL - should i enrich it with hypermedia

I know that GraphQL and REST are different approaches. But what if I need to provide hypermedia links and state transitions to my API design besides agile queries? Should I expose 2 different layers, ...
0
votes
2answers
88 views

Class design : Decide between file and database for storage during runtime [closed]

Based on the demo or license version of my application, I am supposed to either save the data to a file (xml) at a specific location or a relational database. What should be my approach for this case ...
0
votes
0answers
24 views

Mobile BaaS — no connectivity sometimes

I'm looking at options for a BaaS approach for an app using an Azure App Service. We're looking at this approach due to security, API management and ease of re-use/deployments. Also it offers some OOB ...
0
votes
2answers
1k views

Ways to authenticate and redirect with decoupled front-end web application

I have a coupled web application (frontend and api backend served from the same application). It's worked well for our needs but I've been curious about the differences that would go into having a ...
1
vote
1answer
75 views

Backend - own database vs live parsing

I am developing a mobile app that depends on some nearly static data. I will gather that data initially from an existing website by doing some HTML parsing. I could now create a database from that ...
0
votes
5answers
387 views

Frontend and backend developer working on a project - who starts the tasks first?

Even though it depends on the context, I was wondering: during a project that requires a frontend and a backend developer, who most often starts with the tasks first? This assumes the web design is ...
0
votes
0answers
897 views

Repository vs. DAO (again)

In general this back-story does not matter but just to explain the code below: The server handles users and user groups. User groups are able to "discover" places - at this point in time these places ...
-2
votes
1answer
58 views

How to calculate user activity

I am working on a Xamarin.Forms PCL social media app project. People can like posts and comment on them which is saved in MySQL. I would like to add an activity page. What is the best way to ...
1
vote
2answers
743 views

Best Practices - Including endpoint URL calls in JavaScript vs backend calls

I am building a web application that will retrieve results from a remote server and use them to render some charts and maps. The remote server has already been implemented and contains a large amount ...
3
votes
1answer
157 views

How do websites/apps deal with so many people online at once? [closed]

I’ve been wondering about this for a little bit, but I couldn’t find much info on Google. What do big websites like YouTube do to manage all the traffic they get without their website slowing down? ...
2
votes
1answer
677 views

How to architect Notification service logic?

We are building a notification service whose work is to send push notification to end user. There are two types of notifications Group notification where we send same text notification to all user's ...
0
votes
0answers
128 views

Integration Testing a dynamic backend

Our company creates financial software that integrates into a banking system backend. We're running into a lot of problems making changes to it without seemingly impacting another customer or another ...
-3
votes
1answer
134 views

Where is better to calculate the total sum, back end or front end?

If I have a list of products and I need the total price of those products. Where is better to calculate the total sum, back end or front end? Front end React Back end PHP Table that shows Invoices ...
4
votes
2answers
572 views

Design for client-server synchronisation

Background I am working on improving the backend design for a video game. The game is live and working fine, but we want to improve various things. As a video game studio, we often do events which ...
1
vote
1answer
36 views

One resource per business object or many resources for many purposes?

I'm developing a JavaScript UI client and my back-end developer refuses to pass me the data in a form that I don't have to transform afterwards. So, I'm currently working on a mapper that contains a ...
2
votes
1answer
225 views

How do I design a backend API with a different query range?

If I have a blog system, there is now a query that is given a range and then gets the number of new blogs in that range. The range may be: one day one week a month six months a year How do I design ...
0
votes
1answer
266 views

Correct way to inform business rules violation during JSON parsing

We have the following scenario in our company: There are some business objects which have business rules associated with them. One of these objects, Person, has the following rules: A Person must ...
0
votes
1answer
293 views

REST API implementation for graph data - Where to calculate graph units

We have a graph that shows bandwidth usage over time. The bandwidth is returned from the server in bytes. We need to decide which units to show in the graph in case there are several different ...
7
votes
2answers
991 views

How do serverless architectures manage database connections?

The main advantage of serverless architecture is said to be that such programs do not need a dedicated server to run continuously. Then are invoked on a request and stop on exiting the function. ...
1
vote
0answers
43 views

Parse: Managing inventory with subclasses

I'm working on a system which manages inventory in a warehouse setting. All of the inventory items share some common traits, such as name, description, photo etc... However, there are about 6 very ...
0
votes
1answer
83 views

WCF Services for transaction processing and business logic

I work at a small to medium enterprise that are in the business of handling the processing of transactions for the selling and purchasing of "online, electronic products". Things such as prepaid ...
1
vote
3answers
494 views

What are the disadvantages of using services such as Firebase when compared to writing your own back-end?

I am trying to build a mobile application (Android/iOS) and the app will require a lot of back end operations. After doing some research I noticed that several developers recommended using MBaaS ...
1
vote
6answers
497 views

Inter-language Communication

If you have a program that has a front-end and a back-end written in two different languages, how do those two systems communicate with each other? I have no professional experience in programming, I'...
3
votes
1answer
1k views

Architecture for real-time application, avoiding duplicate messages for queues with no active consumers

I am designing the architecture of an application which has your typical backend and frontend components. The frontend application must be semi real-time. For this requirement, the backend is pushing ...
1
vote
2answers
333 views

Hardcoding on frontend

I have an API which returns a list of articles. An article can have three status: Approved, Pending and Rejected. Now the front-end needs to hit the API in following scenarios: Get all the articles ...
3
votes
2answers
327 views

How would you optimize the rendering of 10,000 elements on a webpage?

I'm a full stack web developer, I've been looking for a job lately as a junior since I don't have experience with working for companies, but I've done some projects in the past from design to ...
3
votes
1answer
74 views

Running daily tasks on backend server alongside other tasks

So I have a Google Cloud AppEngine server which has 2 main jobs. Every Day at 00:00, download lots of data (Firebase/Async), process it, and send out notifications via HTTP, interact with ...
0
votes
3answers
74 views

Using only cloud database and authentication service in the cloud as backend for a mobile app - sufficient?

I want to create an Android application with cloud-based functionality. It would entail a (rather simple) loyalty program for consumers and retailers; so, just managing user accounts and some ...
2
votes
2answers
200 views

Should TensorFlow prediction be decoupled from post-processing?

I have an API which is basically comprised of two parts: 1. A TensorFlow neural net that provides predictions based on input image (mainly GPU computations) and 2. Post processing on those predictions ...
4
votes
2answers
852 views

How to define and share a JSON schema between the front-end and back-end of an application?

We have a mobile app that accepts input into some fields, formalises them as a JSON document and then sends it to the back-end for processing. We want to agree on a schema for this document that can ...
0
votes
3answers
177 views

Who should develop the database relational model diagrams?

Developing a co-founded idea software product can have sometimes misunderstood information about roles and responsibilities. A Management role is responsible for understand and delegate the operator's ...
17
votes
3answers
9k views

Is it normal design to completely decouple backend and frontend web applications and allow them to communicate with (JSON) REST API?

I am creating new business web application and I want to achieve: Use the best technologies from their respective realms. I want reliable backend framework with solid ORM. And I want the most ...
-2
votes
2answers
550 views

Understanding Backend

I recently got into website development and am in the process of making my first website using Angular 2 right now. I already created websites in the past using basic HTML and PHP but that was nothing ...
2
votes
2answers
685 views

How to implement notifications for expiring items?

I am working on a Java / Spring web application. The application issues licenses on demand. Each license has an expiry date. Licenses can be renewed by the admin. I want to send an email notification ...
-2
votes
1answer
165 views

How to develop UI using same server instance (without restarting)

I'm java developer. We developed good back end application. Customer asked UI part for it, but UI part development in our program needs each time restart the server (to refresh WEB static files). Is ...
7
votes
3answers
2k views

REST API authorization strategies

There are a lot of questions on here that deal with the mechanics of authentication and authorization of RESTful APIs but none of them appear to go in to details of how to implement secure services at ...
0
votes
1answer
201 views

Async web server and associated 'workers' implementation

In a regular WSGI service provider implementation there is a blocking HTTP server that services clients. When a client, for example, creates an invoice, the server simply makes a CRUD operation that ...
6
votes
5answers
373 views

Should I treat a worker as another 'user' in my system?

Basically I am designing a web-enabled application that should have an API in the middle. I found this question on Stack Overflow, which unfortunately has no answers. Let's say there is a system, ...
0
votes
1answer
31 views

Find whether or not current location is near other locations with given radii

tl;dr: "Am I, with any given location, inside of any number of circles with varying radii" Assume you have a database full of locations (coordinates) with arbitrary radii. Now the user enters and ...
0
votes
1answer
1k views

js spa rest backend business logic vs presention logic

I am very confused about what should a SPA's REST backend do and expose. In most blog posts and books I read they depict the backend pretty much like a direct access to the DB, practically CRUD ...