GithubHelp home page GithubHelp logo

vylex-learning / clean-architecture-worker Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 0.0 75 KB

Cloudflare Worker

Home Page: https://api.vylex.com.br

License: GNU General Public License v3.0

JavaScript 4.32% TypeScript 95.68%
clean clean-architecture cloudflare-api cloudflare-workers graphql solid-principles tdd typescript actions cloudflare

clean-architecture-worker's Introduction

Known Vulnerabilities GPLv3 License Open Source

clean-architecture

First steps

  • Create your Cloudflare account: https://dash.cloudflare.com/sign-up

    • Run this commands:
      • npm install
      • npm start
    • After starting the project, please accept Cloudflare's terms to use Cloudflare workers
  • On your GitHub settings repository, create these actions secrets:

  • Run this command to deploy your Cloudflare worker:

    • npm run deploy
  • Create your FaunaDB account: https://dashboard.fauna.com/accounts/register

  • On your Cloudflare worker service, create these environment vars:

    • FAUNADB_API
    • FAUNADB_SECRET
    • JWT_SECRET_KEY
    • MONGODB_GRAPHQL_URL
    • MONGODB_GRAPHQL_KEY
    • HCAPTCHA_VERIFY_URL
    • HCAPTCHA_SITE_KEY
    • HCAPTCHA_SECRET
    • PASSWORD_SECRET
    • CLOUDFLARE_ACCOUNT_ID
    • CLOUDFLARE_PROJECT_NAME

image

Debbuging:

npm start

Deploy:

npm run deploy

clean-architecture-worker's People

Contributors

henriquebissoli avatar shadowz3n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.