5 methods you can use to deploy your web app -Part 4(Now)

Raja Raghav
Programming sage

--

Part -1 Here
Part -2 Here

Part-3 Here

Part-5 Here

4. Now

According to their official site:

now allows you to take your JavaScript (Node.js) or Docker powered websites, applications and services to the cloud with ease,
speed and reliability. In practical terms, any directory that contains a package.json or Dockerfile can be transported to the cloud with one command: now.

Now seems to be pretty eager on becoming the simplest deployment option available.

Prerequisites

  • Install Node(npm) on your system.
  • Works best for Node based applications.

Install & Configure

  1. Open terminal and type npm install -g now
  2. Then type now login
  3. Enter and verify mail.
  4. Open root project directory.
  5. If not created already, create a package.json file in the root directory of project.
  6. Open package.json and add following script and dependency.
package.json

Deploy

After adding scripts open terminal, and type

  • now

You should receive a url after successful deployment like below.

That’s all folks

Last deployment method coming soon! Peace out.

Part -1 Here
Part -2 Here

Part-3 Here

Part-5 Here

Happy Coding

--

--