F
F
frontender2017-03-09 11:11:25
JavaScript
frontender, 2017-03-09 11:11:25

Nodejs test tasks for a beginner?

Hi all!
Could you give me a test task for nodejs for a beginner in this matter?
About myself: I know client-side JS well (es6, several frameworks), some patterns. There is little knowledge in the backend (wrote on .net about 3 years ago).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Wolf, 2017-03-09
@mannaro

There is a cool task that I found somehow on the Internet:
Manage a virtual missile launch center.
There are several bases (when the server is started, they are "created" anew).
You press the button, select the target and the rocket flies, broadcasting its coordinates to the client (+ the remaining time).
At the time of the flight, an accident may occur and the rocket will not reach, it is necessary that this be displayed to the user in the browser.
When the rocket flies, the base is damaged (calculated randomly). When the base of lives < 0 the game is considered completed and the user is shown a message about this when the page loads.
All this works on the server via JSON, and on the client via react/angular/custom and is updated in real time via long-polling or websocket.
interface - just a drop-down list, and after clicking on the button, one div with the coordinates, the second with the remaining time.

M
Michael, 2017-03-09
@mak_ufo

Look here . True, they suggest writing in ROR, but everything listed in the article can be written in anything. Including on node.js

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question