Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/artlu99/bcbhshow-lite-client
The BCBHShow Lite Client 🌟
https://github.com/artlu99/bcbhshow-lite-client
farcaster farcaster-action farcaster-client farcaster-frames
Last synced: 27 days ago
JSON representation
The BCBHShow Lite Client 🌟
- Host: GitHub
- URL: https://github.com/artlu99/bcbhshow-lite-client
- Owner: artlu99
- License: mit
- Created: 2024-06-24T17:10:03.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-30T01:00:11.000Z (4 months ago)
- Last Synced: 2024-07-30T17:39:28.396Z (4 months ago)
- Topics: farcaster, farcaster-action, farcaster-client, farcaster-frames
- Language: TypeScript
- Homepage: https://client-bcbhshow.artlu.xyz
- Size: 1.41 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/artlu99/unfurl))
- 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`.