An open API service indexing awesome lists of open source software.

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

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.