69
GitHub - zeit/now-examples: Examples of Now deployments you can use
source link: https://github.com/zeit/now-examples
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
Now Examples
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-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 8KServerless 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 Deploysasmhttpd
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-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
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK