Skip to content

arunoda/now-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 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-nuxt.js A simple statically generated Nuxt.js application 209K
static-parcel A simple website built using Parcel 20K
static-react Deploy, test and build CRA 635K
static-vuepress A static website built using vuepress 272.0K
static-parcel-react A simple React website built using Parcel 2.5M
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
elixir-phoenix Elixir A Phoenix app 47.5M
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-adonisjs Node.js A minimal AdonisJs application 21.6M
node-next.js Node.js A simple Next.js application with Server Side Rendering 86.1M
node-nuxt.js Node.js A simple Nuxt.js application with Server Side Rendering 37.9M
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-express Node.js A express 19.9M
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
php-laravel PHP A Laravel app 38.8M
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
rust-rocket Rust A webserver powered by Rocket 2.7M
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.9%
  • PHP 29.0%
  • CSS 8.5%
  • Elixir 8.0%
  • HTML 7.6%
  • Dockerfile 6.4%
  • Other 8.6%