Skip to content
/ cfdemo Public

A Zero-Cost Dynamic Website using Cloudflare Pages with Serverless Functions and Database Query

Notifications You must be signed in to change notification settings

zcsd/cfdemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build a Zero-Cost Dynamic Website using Cloudflare Pages with Serverless Functions and Database Query

Click here for the detailed guide.

Click here to try the live demo.

Cloudflare Pages can be used to deploy static websites, much like Github Pages does. From November 2021, Cloudflare Pages started to support dynamic website with full stack capability. With the aid of serverless Functions offered in Cloudflare Pages, we may develop our own server-side code to enable dynamic functionality, such as autherticating and querying databases.

Now each Cloudflare accout provides 100,000 free Functions requests per day for Cloudflare Pages, it's enough for personal website and even some small enterprises. The above guide and code can show you how to deploy a basic dynamic website using Cloudflare Pages with Functions.

About

A Zero-Cost Dynamic Website using Cloudflare Pages with Serverless Functions and Database Query

Resources

Stars

Watchers

Forks