https://github.com/dylsteck/one-farcaster-demo
an archived demo farcaster app built with the one framework
https://github.com/dylsteck/one-farcaster-demo
Last synced: 5 months ago
JSON representation
an archived demo farcaster app built with the one framework
- Host: GitHub
- URL: https://github.com/dylsteck/one-farcaster-demo
- Owner: dylsteck
- Created: 2024-10-07T19:39:11.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-01-06T18:47:47.000Z (5 months ago)
- Last Synced: 2025-01-06T19:49:02.008Z (5 months ago)
- Language: TypeScript
- Homepage:
- Size: 5.08 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# one-farcaster-demo
one-farcaster-demo is a demo Farcaster app I was building to test out the [One](https://onestack.dev/) framework for React
## Setup
Now you'll need to run a postgres database. We've included a
`docker-compose.yml` that will set up everything for you.You'll want to set up docker first:
- On Mac, we recommend [OrbStack](https://orbstack.dev) as it's faster.
- Otherwise [Docker Desktop](https://www.docker.com/products/docker-desktop/).Now run:
```bash
docker-compose up
```Set up your DB:
```bash
yarn db:init
```## Developing
You can now run your One app in development:
(note: you can also use another package manager such as bun or npm if you'd rather)```bash
yarn dev
```## Production
To build your app for production:
### Web
```bash
yarn build:web
```### iOS
First, you'll need to generate the native code for your app:
```bash
yarn prebuild:native
```Afterward, follow the instructions printed in the terminal to build and upload
your iOS app for distribution.