D
D
Dmitry Petrov2015-12-21 15:33:08
JavaScript
Dmitry Petrov, 2015-12-21 15:33:08

How to make a little more than a "simple" server in Node.js?

Hi all.
I'm looking for lessons on Node.js about creating a server, so far I've only come across creating a simple server that can display the contents of an html document.
I would like to know what needs to be added to the code so that it can display images from the html document, I only know that I need to use the express module.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dronbas, 2015-12-21
@Dronbas

expressjs.com/ru/starter/generator.html
will it work?

W
winbackgo, 2015-12-21
@winbackgo

https://learn.javascript.ru/nodejs-screencast

B
bromzh, 2015-12-21
@bromzh

what needs to be added to the code so that it can display images from the html document

https://www.npmjs.com/package/serve-static

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question