/nodejs-example

Few files used to show how NodeJS pipeline is working to new developers

Primary LanguageJavaScriptMIT LicenseMIT

Introduction to NodeJS

This small repository was created to show few basic things about NodeJS.

Hello World with only NodeJS

File bare.js is showing how to create simplest Hello World application.

To start it, you need to execute:

node bare.js

After that, you should be able to see Hello World at http://localhost:3001/.

Express Example

File express.js shows simple ExpressJS example. Also, this file shows how we can link files together.

To start it, you need to execute:

node express.js

Express

File index.js shows how to create ExpressJS creating HTML with Pug and how to host static files.