Skip to content
Examples of Now projects you can deploy yourself
JavaScript HTML CSS TypeScript Vue Ruby Other
Branch: master
Clone or download
coetry and msweeneydev Add pusher whiteboard example (#468)
* add pusher whiteboard example

* add readme

* rename pusher-whiteboard -> vanilla-pusher-functions

* update readme to reflect pusher name changes

* append .js to Node -> Node.js

* Update vanilla-pusher-functions/README.md

* Update vanilla-pusher-functions/README.md

* Update vanilla-pusher-functions/README.md
1
Latest commit ee4ac70 Aug 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update examples to remove configuration (#423) Jul 19, 2019
amp update .gitignore files (#469) Aug 16, 2019
angular update .gitignore files (#469) Aug 16, 2019
aurelia update .gitignore files (#469) Aug 16, 2019
brunch add package-lock.json to relevant projects (#473) Aug 22, 2019
charge add package-lock.json to relevant projects (#473) Aug 22, 2019
create-react-app-functions add package-lock.json to relevant projects (#473) Aug 22, 2019
create-react-app add package-lock.json to relevant projects (#473) Aug 22, 2019
custom-build update .gitignore files (#469) Aug 16, 2019
docusaurus add package-lock.json to relevant projects (#473) Aug 22, 2019
docz add package-lock.json to relevant projects (#473) Aug 22, 2019
ember update .gitignore files (#469) Aug 16, 2019
gatsby-functions add package-lock.json to relevant projects (#473) Aug 22, 2019
gatsby add package-lock.json to relevant projects (#473) Aug 22, 2019
gridsome add package-lock.json to relevant projects (#473) Aug 22, 2019
hexo add package-lock.json to relevant projects (#473) Aug 22, 2019
hugo update .gitignore files (#469) Aug 16, 2019
hyperapp add package-lock.json to relevant projects (#473) Aug 22, 2019
jekyll update .gitignore files (#469) Aug 16, 2019
marko add package-lock.json to relevant projects (#473) Aug 22, 2019
mdx-deck add package-lock.json to relevant projects (#473) Aug 22, 2019
metalsmith add package-lock.json to relevant projects (#473) Aug 22, 2019
mithril add package-lock.json to relevant projects (#473) Aug 22, 2019
nextjs add package-lock.json to relevant projects (#473) Aug 22, 2019
nuxtjs add package-lock.json to relevant projects (#473) Aug 22, 2019
polymer update .gitignore files (#469) Aug 16, 2019
preact add package-lock.json to relevant projects (#473) Aug 22, 2019
riot add package-lock.json to relevant projects (#473) Aug 22, 2019
sapper add package-lock.json to relevant projects (#473) Aug 22, 2019
storybook add package-lock.json to relevant projects (#473) Aug 22, 2019
svelte-functions add package-lock.json to relevant projects (#473) Aug 22, 2019
svelte add package-lock.json to relevant projects (#473) Aug 22, 2019
umijs add package-lock.json to relevant projects (#473) Aug 22, 2019
vanilla-functions update .gitignore files (#469) Aug 16, 2019
vanilla-pusher-functions Add pusher whiteboard example (#468) Aug 23, 2019
vanilla update .gitignore files (#469) Aug 16, 2019
vue add package-lock.json to relevant projects (#473) Aug 22, 2019
vuepress add package-lock.json to relevant projects (#473) Aug 22, 2019
.gitignore update .gitignore files (#469) Aug 16, 2019
.gitmodules Update examples to remove configuration (#423) Jul 19, 2019
CODE_OF_CONDUCT.md Update examples to remove configuration (#423) Jul 19, 2019
CONTRIBUTING.md Update examples to remove configuration (#423) Jul 19, 2019
LICENSE.md Update examples to remove configuration (#423) Jul 19, 2019
README.md link to zero config guides (#450) Jul 31, 2019
manifest.json fix: typo (#465) Aug 8, 2019

README.md

ZEIT Now Examples

This is the public list of examples for ZEIT Now.

All of these ready to deploy examples feature a frontend framework or static site, created using the CLI tools they provide with zero configuration required.

The +functions examples feature an /api directory as well, highlighting how to use serverless functions on top of a framework, again with zero configuration required.

What is ZEIT Now?

ZEIT Now is a cloud platform for static frontends and serverless functions. It enables developers to host websites and web applications that deploy instantly, scale automatically, and require no supervision.

What Does this Repository Contain?

This repository consists of multiple examples, created for use with the ZEIT Now platform. In addition to this, it also contains:

We recommend familiarizing yourself with the above sections, particularly if you are looking to make a contribution.

Deploying Examples

To get started using any of these examples as your own project, install Now and use either of the following commands in your terminal:

now init                    # Pick an example in the CLI
now init <example>          # Create a new project from a specific <example>
now init <example> <name>   # Create a new project from a specific <example> with a different folder <name>

Deploying your project takes seconds and can be done with just a single command:

now                         # Deploys the project with Now

With the now command, your project will be built and served by Now, providing you with a URL that can be shared immediately.

New Examples

We are continuously improving our examples based on best practices and feedback from the community. As a result, it is possible that example names will change and on occasion deprecated in favor of an improved implementation.

For example, the previous nodejs example showed a static frontend with a Node.js API. This is illustrated now in the svelte-functions example. Below is a table that lists some of the most popular previous examples and the equivalent replacement:

Previous Example New Example
monorepo gatsby-functions
nodejs svelte-functions
nextjs-static nextjs
vanilla-go create-react-app-functions
typescript gatsby-functions

Migrating and Upgrading

If you have an existing project you would like to deploy with ZEIT Now, we recommend reading our guide on migrating to Now with zero configuration. By combining the guide with this repository, you will quickly be able to understand how to deploy your application.

If you would like to upgrade a project to take advantage of zero configuration, you may find the upgrade guide useful. The upgrade guide covers how to remove configuration from existing projects along with how to use the /api directory.

How to Contribute

Contributing to Now Examples should be an enjoyable experience, as such we have created a set of contributing guidelines to help you do so.

The guidelines cover important information such as the requirements for new examples and where to get help if you have any questions.

We have tried to make contributing to Now Examples as easy as possible, especially for those new to Open Source. If anything is unclear or you have any questions then please reach out to us on ZEIT Spectrum where we will do our best to help you.

Reporting Issues

We actively encourage our community to raise issues and provide feedback on areas of Now Examples that could be improved.

An issue can be raised by clicking the 'Issues' tab at the top of the repository, followed by the Green 'New issue' button.

When submitting an issue, please thoroughly and concisely describe the problem you are experiencing so that we may easily understand and resolve the issue in a timely manner.

License

Now Examples is an open source project released under the MIT License.

Get In Touch

If you have any questions that are not covered by raising an issue then please get in touch with us on the ZEIT Spectrum. There you will find both members of the community and staff who are happy to help answer questions on anything ZEIT related.

Join the community on Spectrum

You can’t perform that action at this time.