Zero is a web framework for modern web development

Zero is a web framework for modern web development
Average rating: 0
(0 votes)

Thanks! You’ve rated this material!

Today web development can be done in many ways and there appear more and more frameworks to make your life easier. Zero is a web framework for modern web development. It allows you to build your application without worrying about package management or routing. It’s as simple as writing your code in a mix of Node.js, React, HTML, MDX, and static files and putting them all in a folder. Zero will serve them all.

Zero abstracts the usual project configuration for routing, bundling and transpiling to make it easier to get started.

Auto Configuration: Your project folder doesn’t require config files. You just place your code and it’s automatically compiled, bundled and served.

File-system Based Routing: If your code resides in ./api/login.js it’s exposed at http://<SERVER>/api/login. Inspired by good ol’ PHP days.

Auto Dependency Resolution: If a file does require('underscore'), it is automatically installed and resolved. You can always create your own package.json file to install a specific version of a package.

Multiple Languages: Zero is designed to support code written in many languages all under a single project. Imagine this:

  1. Exposing your Tensorflow model as a python API.
  2. Using React pages to consume it.
  3. Writing the user login code in Node.js.
  4. Your landing pages in a mix of HTML or Markdown/MDX.

By default, Zero compiles and serves all files in your project. But most of the time, you don’t want to expose a certain file or folder. You can add .zeroignore file to prevent Zero from serving that file as a valid route.

Please see here for more code examples.

We also included Zero to the list of the most popular JS repositories on GitHub in March.

p.s. Explore the detailed information and comparison for the main Node.js web frameworks for 2019.

Rate this article, if you like it

Thanks! You’ve rated this material!

Got a project? Let's discuss it!

Mailing & Legal Address

Syndicode Inc. 340 S Lemon Ave #3299, Walnut CA, 91789, USA

Visiting & Headquarters address
Kyiv Sofiivska 1/2a, 01001, Kyiv, Ukraine
Dnipro Hlinky 2, of. 1003, 49000, Dnipro, Ukraine
Email info@syndicode.com
Phone (+1) 9035021111