"start": "serve -p 3000 ."
Our mission at ZEIT is to make the cloudfast and easy to use for developers and designers everywhere. In this inaugural post I want to outline a bit of our history, talk about our first product Now and our future goals.
In 2009 I started using Node.js to experiment with building realtime applications, such as instant messengers and document collaboration.
The first drafts of the
Many different buzzwords at the time got a lot of people excited: the event loop, V8, code sharing, realtime communication, sockets.
But the single most important and universal trait is that Node and JS were fast.
Instead, every single test spawned a new isolated HTTP server containing the entire application and used an actual HTTP client to query data from it. We wrote hundreds of these.
make test would only take seconds(and they were as real-world as they could be).
We think the experience of deploying your applications and microservices to the cloud should be much faster and easier.
Our benchmark is
http://localhost. We want to match or exceed the performance of your local computer and network.
▲ node index.js Listening on http://localhost:3000
With Now the experience is similar. After you install it (
npm install -g now) you run:
▲ now > Ready! https://my-proj-hj1v2m.now.sh (copied to clipboard)
That simple command instantly uploads, builds and automatically scales your Node.js application.
Deployment used to involve buying expensive equipment and manually wiring, configuring and monitoring it. No redundancy or geographical distribution. This would take days or weeks.
Later on came the cloud. With it, provisioning of instances (with different types and operating system choices), continuous integration systems, image repositories… taking hours or days.
With Now it takes one command to deploy a HTTP/2 service to our global cloud. In milliseconds.
Our goal is to make our service so easy and intuitive that it works just as well for experienced developers in enterprise contexts as for those just picking up the language.
To this end, when you deploy with Now, we augment your application with tools that make it possible to debug and understand your live codebase.
The first of these is called
Just like frontend developers and designers have been able toinspect their production HTML and CSS, we're now enabling everyone to inspect their cloud deployments.
We believe this new way of interacting with your backend code will have a tremendous impact in your productivity and ability to identify bugs and performance bottlenecks.