Coder Social home page Coder Social logo

aiclouds / now-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from talmobi/v2-demos

0.0 1.0 0.0 21.32 MB

Examples of ZEIT Now projects you can deploy yourself

Home Page: https://zeit.co/new

License: MIT License

JavaScript 43.41% HTML 23.44% Go 0.11% CSS 20.49% Vue 2.36% TypeScript 6.18% Ruby 1.91% Makefile 0.78% Python 1.32%

now-examples's Introduction

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 with zero configuration using the CLI tools they provide.

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 and 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

now-examples's People

Contributors

joecohens avatar tootallnate avatar timothyis avatar rauchg avatar styfle avatar paulogdm avatar sergiodxa avatar shuding avatar mcsdevv avatar pranaygp avatar timneutkens avatar thasophearak avatar olliv avatar leo avatar plug-n-play avatar jeffjose avatar markozxuu avatar sarupbanskota avatar wittbulter avatar watadarkstar avatar tofflos avatar captdaylight avatar tim-phillips avatar lucleray avatar solrevdev avatar yuyokk avatar igorklopov avatar dav-is avatar anmonteiro avatar amio avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.