L
L
l_stl_st2018-10-03 16:03:51
MongoDB
l_stl_st, 2018-10-03 16:03:51

How to make a list of liked objects in Angular?

To do something, I took a trial assignment for the vacancy of a junior developer. Given a huge JSON file like this:

{
 "название":"ссылка",
 "название":"ссылка",
 "название":"ссылка",
 и тд
}

There are emojis, and on the latest version of Angular you need to make a table with them, three columns: title, link, preview.
I created a project in the CLI and began to do. What is written above has already been done.
Next - you need the ability to like them and delete them. Lined and deleted should be displayed on separate pages. And all this should remain unchanged after page refresh.
I so understand, it is necessary to do a database? Need MongoDB? How to link it with Angular?
Do I need to create a server.js to talk to the database and run it with the "node server.js" command? And how to link server.js in this case with the server that Angular itself creates?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question