Questions tagged as 'back-end'

3
answers

How to show the current date when the page loads

I want to display the current date on a particular div while loading the page, I've already done a functional sketch of the code, however I'm using the button . Follow the code: function formataData(data = new Date()){ var dia = dat...
asked by 22.07.2018 / 20:43
1
answer

Can we develop a 100% JavaScript / HTML / CSS web application without backend?

I'm a backend Java developer and I've always used JavaScript in the frontend to give dynamism and better interaction with HTML pages (I've always developed corporate systems). Is there a way to develop a 100% enterprise system in JavaScript /...
asked by 13.01.2018 / 00:03
1
answer

Filter with Node.JS

I have a list of saved items in a Mongo collection, I'd like to know how to filter the original array. Follow the code api.filtra = function (req, res) { model.find() .then(function(itens) { for(i = 0; i < itens.leng...
asked by 03.09.2017 / 07:42
1
answer

Backendless - Composition of table id

Hello I created a table in Backendless and I would like to know if I can compose table id with 2 fields as in SQL table . Is it possible?     
asked by 06.05.2016 / 20:22
0
answers

Force Google indexing on DNS redirection

tl; dr: DNS redirection. User is redirected to our hosting. Googlebot ignores and indexes the original hosting. In our hosting we place the files of the site a domain that is being taken care of by another company. So we're hav...
asked by 07.11.2017 / 18:15
0
answers

Many-to-Many Relationship Road

I have a related question API REST, if anyone can help, thank you. I have 2 entities, Product and Store, which have a many-to-many relationship between them. A Product may be available in 1 or more Stores and, in turn, a Store may have 1 or m...
asked by 29.11.2017 / 13:19
1
answer

Display a blob image in JS

I need to display images that are saved in the database (firebird) in Blob and I can not go forward with it. a BD function is returned Thisfunctionisreadbythefunctionbelow.FromnowonIwouldneedtoreturntheimagethrough(res.json)tomyfrontendor...
asked by 27.09.2017 / 23:57
1
answer

How to generate JSON dynamically to feed future application?

What I want to do is: Create a minimalist application that searches the database, returns the result in JSON, and this result is interpreted by external applications via http, with no change in the minimalist application. It works as an API, but...
asked by 03.05.2017 / 07:18
1
answer

Error after migrations (backend .Net)

My backend is built in .NET, and by including a certain table in the solution, I get the following error:    Can not create more than one clustered index on table 'dbo.Favorit'.   Drop the existing clustered index 'PK_dbo.Favorit' before   cr...
asked by 29.01.2017 / 21:18
0
answers

How to choose the key of the array in PHP and not that pattern (0 = ... 1 = ... 2 = ...)

This is the following, I am making a small system where the person can include in an array the desired products, he clicks the product button "Insert" and some information is taken from that product and stored in an array, in this case, "product_...
asked by 16.11.2016 / 13:42