GithubHelp home page GithubHelp logo

ozonepiff / turnstile-demo-workers Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudflare/turnstile-demo-workers

0.0 0.0 0.0 4 KB

A simple demo with a Turnstile-protected form, using Cloudflare Workers.

Home Page: https://demo.turnstile.workers.dev/

JavaScript 25.87% HTML 74.13%

turnstile-demo-workers's Introduction

Turnstile Demo: Workers

A simple demo with a Turnstile-protected form, using Cloudflare Workers.

With the code in this repository, we demonstrate implicit rendering and explicit rendering.

Setup

$ npm install
up to date, audited 103 packages in 585ms

11 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Local testing

npm run dev

> dev
> wrangler dev index.mjs --local

 ⛅️ wrangler 2.1.7
-------------------
⎔ Starting a local server...
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ [b] open a browser, [d] open Devtools, [l] turn off local mode, [c] clear console, [x] to exit                                                                                │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Then press b to open the demo page in your browser.

Deploy

$ npm run deploy

> deploy
> wrangler publish index.mjs

 ⛅️ wrangler 2.1.7
-------------------
Total Upload: 2.94 KiB / gzip: 1.33 KiB
Uploaded turnstile-demo-workers (2.07 sec)
Published turnstile-demo-workers (1.66 sec)
  https://turnstile-demo-workers....workers.dev

turnstile-demo-workers's People

Contributors

punkeel avatar ky2vell 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.