Zeit Now "HelloWorld" example
- now
- starter
- template
- zeit
An Apollo Server & Client in a Next.js in a yarn Workspace deployed with Now 2.0
npm install -g now
mkdir now && cd now
We are now inside the now directory. Use your favorite text editor to create an index.html file with the following contents:
<h1>Hello World</h1>
<marquee>This is my first Now Deployment</marquee>
All we have to do now is run now from within the now directory:
now
The output looks like the following and includes a deployment URL:
Check the deployment for a live example: https://my-app-prtypks27.now.sh/
This URL is unique to the source code inside that directory. If you run now again, the same deployment is returned. This is why we call our deployments immutable.
- Zeit (c)
- Alexander Lapygin - catching in Soft Spiders Net
An Apollo Server & Client in a yarn Workspace deployed with Zeit 2.0
Licensed under the MIT license.