Skip to content

Examples of Now deployments you can use

Notifications You must be signed in to change notification settings

JoeForks/now-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Now Examples

Join the community on Spectrum

Static Websites

These deployments:

  • Have a build phase powered by Dockerfile
  • Are generated once and served fully statically
  • Get cached automatically by the Now CDN

Overview

Demo Description Size
static-gatsby A static site built with Gatsby 3.1M
static-hugo A static site built by Hugo 236K
static-jekyll A basic Jekyll powered site 61K
static-mdx-deck A simple presentation built with mdx-deck 299K
static-next.js A simple statically exported Next.js application 242K
static-parcel A simple website built using Parcel 20K
static-react Deploy, test and build CRA 635K
static-webpack A simple website built using webpack 8K

Serverless Docker (V2)

These deployments:

  • Respond with dynamic data by running code
  • Automatically scale to zero with no traffic
  • Boot from cold in under a second
  • Are built reproducibly from Dockerfile

Overview

Demo Language Description Size
asm-httpd x86_64 ASM Deploys asmhttpd which serves a static file 12.0K
bash-httpd Bash Uses bashttpd to HTTP requests with the output of Bash commands 4.3M
c-microhttpd C Uses libmicrohttpd to implement a webserver 8.3M
crystal-hello Crystal Uses the http/server module to implement a webserver 4.0M
go-hello Go Uses the http package to implement a webserver 1.8M
java-spark-graal Java Uses the Spark framework and packages with GraalVM native-image 5.3M
misc-chat-roulette Node.js Implements a WebSocket server with a max concurrency of 2 19.3M
misc-dump Node.js An app that simply logs information about incoming requests and the system it's running on 26.1M
misc-redirect Bash Server that does an HTTP redirect to the configured URL 4.3M
misc-screenshot Node.js An app that takes a screenshot of a given webpage powered by puppeteer 89.6M
misc-socket.io-chat Node.js The socket.io chat demo 20.2M
misc-socket.io-whiteboard Node.js The socket.io whiteboard demo 20.2M
misc-web-tty Go A fully functional terminal in the browser powered by gotty 6.1M
node-next.js Node.js A simple Next.js application with Server Side Rendering 86.1M
node-hello-world Node.js A minimal (1LOC) server in node 19.2M
node-http-microservice-pkg Node.js A microservice in Node, packaged with pkg 19.3M
node-micro Node.js A microservice in Node written with micro 19.6M
node-react Node.js Deploys a react app created using create-react-app 700K
ocaml-graphql OCaml Deploys an OCaml GraphQL server using ocaml-graphql-server 2.8M
php-7-hello-world PHP A tiny website served using php-fpm 6.4M
php-wordpress PHP An example running WordPress backed by a SQLite database 45.3M
python-django Python A Django app 49.1M
python-flask Python A Flask app 38.1M
python-hello-world Python A webserver powered by the built-in http.server module 33.1M
ruby-http-sinatra Ruby A Sinatra app 58.7M
rust-http-microservice Rust A webserver powered by hyper 2.3M
swift-http-server Swift Example Swift hello world using HTTP Server 33.0M
swift-kitura Swift Swift server written with IBM's Kitura 33.9M
swift-vapor Swift Server-side Swift example using Vapor 35.7M

About

Examples of Now deployments you can use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 31.4%
  • CSS 22.4%
  • HTML 15.8%
  • Dockerfile 12.5%
  • Python 5.5%
  • Ruby 3.4%
  • Other 9.0%