Questions tagged [backend]

For questions involving the data processing components of a system. These components are typically called to from the user interface or business layer components, rather than interacting directly with the end-user.

Questions pertaining to a component in the “back half” of an application, that is, not user-facing. Typically, this component is called from user interface or business layer components to perform processing actions, rather than interacting directly with the end-user.

This may include layers as far back as the data storage component such as a database server.

8432 questions
24
votes
5 answers

matplotlib won't draw python3

I installed matplotlib successfully inside a virtualenv. Now I'm trying to get it to draw. I know how to change the backend, but I'm having a whole lot of trouble figuring out what to change it to. Has anyone managed to get it totally working with…
Sheena
  • 15,590
  • 14
  • 75
  • 113
23
votes
2 answers

How to make a clean clang front-end?

I'm working on a C++ source analyzer project and it seems that clang is nice candidate for the parsing work. The problem is that clang heavily depends on the infrastructure "llvm" project, How do I configure it to get a clean front-end without any…
Haiyuan Li
  • 377
  • 2
  • 10
23
votes
4 answers

Cross-site POST form submissions are forbidden

My sveltekit app has a form which sends a POST request to server. The app is working fine on dev server but when I build and run the app it fails to send the form data via POST request. It shows the following error in the browser: Cross-site POST…
Shakir
  • 270
  • 2
  • 11
23
votes
2 answers

NodeJS MySQL Client does not support authentication protocol

When I am trying to connect with mysql 8.0 I am getting this error. How can I fix this ? code: 'ER_NOT_SUPPORTED_AUTH_MODE', errno: 1251, sqlMessage: 'Client does not support authentication protocol requested by server; consider upgrading MySQL…
Rupesh
  • 840
  • 1
  • 12
  • 26
23
votes
2 answers

What is the difference between a realtime database and a "normal" database?

I'm researching some backend-as-a-service (BaaS) solutions for developing web applications, and I constantly see that Firebase refers to their database as a "realtime database", while for example Backendless doesn't mention the phrase "real time"…
Magnus
  • 17,157
  • 19
  • 104
  • 189
23
votes
11 answers

How to make Keras use Tensorflow backend in Anaconda?

I have install tensorflow-gpu in my Anaconda environment. They both work well. Now I am trying to install Keras with Tensorflow backend. According to the instruction I just run: pip install keras But it doesn't install keras, then I tried: conda…
Tai Christian
  • 654
  • 1
  • 10
  • 21
23
votes
4 answers

C++ compilers and back/front ends

For my own education I am curious what compilers use which C++ front-end and back-end. Can you enlighten me where the following technologies are used and what hallmarks/advantages they have if any? Open64 - is it back-end, front-end, or both? Which…
Anycorn
  • 50,217
  • 42
  • 167
  • 261
23
votes
3 answers

Using Google Analytics from backend

There is some custom google analytics events I've specified for my application. Trigering these events is sometimes not very easy. For example: User is redirected to home page after purchase and I have to forward some data that this home page is…
Bogdan Gusiev
  • 8,027
  • 16
  • 61
  • 81
22
votes
8 answers

Simple PHP editor of text files

I have developed a site for a client and he wants to be able to edit a small part of the main page in a backend type of solution. So as a solution, I want to add a very basic editor (domain.com/backend/editor.php) that when you visit it, it will…
Alehandro Darie
  • 271
  • 1
  • 3
  • 7
22
votes
3 answers

How to deploy backend and frontend projects if they are separate?

I am developing a web application with a small team, and after researching and studying a bit we discovered it is a good practice to separate back-end and front-end projects. So we will develop the back-end as a REST API with hapijs and mysql…
20
votes
3 answers

newbie: writing backend code for website

I am usually working in fields of machine learning and hence my background is mostly in stats/ML and no formal web background. Usually for my project, I work on python which is connected to my local mysql db... to fetch data adn everything. Now, my…
frazman
  • 32,081
  • 75
  • 184
  • 269
20
votes
1 answer

What is a "django backend"?

I've been encountering quite a few django Apps mentioning 'backend', but don't exactly know what it is. Searching around google does not give much results regarding django backends in general. Could someone give an explanation? To be specific, take…
Xun Yang
  • 4,209
  • 8
  • 39
  • 68
20
votes
3 answers

docker-compose, failed to solve: rpc error: code = Unknown desc = failed to compute cache key: "/app/package.json" not found: not found

I have a problem with pathways docker-compose, when I try build project with only docker build, it works great, but I mustn't use docker build, I have to use docker-compose. When I use docker-compose it returns 2 ERRORS at step 3/5 => ERROR [3/5]…
f1x0z
  • 307
  • 1
  • 2
  • 6
20
votes
5 answers

Django Multiple Authentication Backend for one project

I have an application written in Django and I have to extend it and include some other solution as an "app" in this application. For example, my app to be integrated is named "my_new_app" Now there is a backend authentication written for the main…
19
votes
4 answers

Adding a column to an existing table in Node.js & Knex

I'm using Node.js and Knex to build a service for my router. However, I can't figure out how to add a column to an existing table, any help would be appreciated. Also, I'm using PostgreSQL, but I don't think that matters for the question. So, this…
ezg
  • 715
  • 2
  • 7
  • 20