JavaScript/JS at server



JavaScript was initially introduced to run in web browsers. Nowadays, it is also heavily used on the server side within web servers, frameworks, libraries, and applications. We list some popular examples.

Node.js is a JavaScript runtime environment using the JavaScript engine V8. Some parts are written in C and C++. Node.js applications often create a web server and offer resources to the public.

Angular is a framework for developing web applications. It is written in TypeScript. TypeScript is a syntactical superset of JavaScript, adding static typing.

Vue.js is a JavaScript framework for building user interfaces.

React is a JavaScript library for building user interfaces - standard HTML elements like div or button, as well as your own JSX components.

JSX is an extension to the JavaScript language to create complex HTML fragments dynamically. You can use expressions (variables, function calls, loops, ...) to build them.

const App = () => {
  const status = 0;
  return (
    <div>
      <p>{ status === 0 ? 'ok' : 'failed' }</p>
    </div>
  );
}

... will render to:

<div>
  <p>ok</p>
</div>