Giter Site home page Giter Site logo

artlu99 / bcbhshow-lite-client Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.44 MB

The BCBHShow Lite Client ๐ŸŒŸ

Home Page: https://client-bcbhshow.artlu.xyz

License: MIT License

JavaScript 0.60% Shell 0.01% TypeScript 98.31% HTML 0.45% Less 0.63%
farcaster farcaster-action farcaster-client farcaster-frames

bcbhshow-lite-client's Introduction

BCBHShow Lite Client ๐ŸŒŸ

Overview

  • front end is a responsive React 18 app
    • Typescript
    • Redux state management for persistent stores
    • Zustand state management for in-app state
    • optional, recommended PWA
    • Neynar handles auth entirely in the front-end (state-light client)
    • Ant Design v4 principles (i.e. less CSS, choice to deal with it later)
    • stripped and rebuilt from a MIT-licensed template
      • developed by a Polish web design firm
      • had not been upgraded to current versions of React, Ant, etc.
  • back end is a collection of independent, stateless CF Pages Functions
    • each one calls fetch to various providers
      • Warpcast APIs
      • Neynar APIs wrapped by Pinata
      • far.quest APIs
      • Hubble APIs via Airstack (designed to be swapped)
      • Decent Bookmarks and FCAN by @artlu
      • bot-or-not by @sayangel
    • bindings to Cloudflare D1 for curation
    • bindings to Upstash Redis via https REST API for caching
    • the DX is unfamiliar to devs familiar with Next.js. study src/api/mocks
  • React Query caches many of the backend calls in the front end
  • mocked data available for optionally-offline front-end development
  • Hono microservice for unfurling URLs
    • in a different MIT-licensed repo here)
    • runs cheerio underneath
    • heavily inspired by Pinata Steve

Installation

run

yarn

development (front-end only)

uncomment the imports of mocked data in src/api/mocks/mockornot.ts and run

yarn start

deployment

set the base in vite.config.js to the URL of the deployed site (including 'https://').

ensure ENV variables are set. study .env.example.

husky runs pre-commit hooks to lint and build. A successful build triggers deployment via GitHub Actions.

bcbhshow-lite-client's People

Contributors

artlu99 avatar

Watchers

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