Now offers a friction-free way to deploy node applications right from the terminal. In this lesson, we'll learn how to use the now CLI to deploy a node application, including the deployment of environment variables. We'll also look at how now retains each version of your application, how to see the running code right in the browser and how to remove a deployment when you no longer want that version.
npm i -g now // install now // deploy now -e GREETING="sometoken" // deploy with token now ls // list all the snapshots now rm <id> // remove the snapshot
You can also broswer the source code of you deployed app by adding
/_src
to the end of url:
https://now-demo-ziknblodzb.now.sh/_src