Giter Club home page Giter Club logo

edge-log's Introduction

edge-log

edge-log is a minimal, serverless blog application designed to run on a service like Cloudflare Workers or AWS Lambda Compute, where the only resource we have is a small amount of CPU time per request and a simple key-value store without the support for atomic operations (e.g. Cloudflare Worker KV).

Build and run (on Cloudflare Workers)

The building process will emit two bundles of code. One to be run on Cloudflare Workers while the other to be served statically to the front-end.

And the following commands will build the bundles and upload corresponding static files

npm run build

# This command would require your Cloudflare API credentials
npm run upload dist/static static

The last step would be to copy and save the worker script at dist/worker/index.js to the Cloudflare Worker console.

The frontend has not been properly connected to the backend as of now. But one could try to test a few primitive functionalities through the GraphQL endpoint served at https://<worker domain>/api. The schema of the GraphQL instance could be found at src/worker/schema.ts

Todo

I'm pausing the development for now. Will find time to work on the frontend.

edge-log's People

Contributors

rod-lin avatar zhengyao-lin avatar

Stargazers

 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.