Code Monkey home page Code Monkey logo

farcaster-expo's Introduction

farcaster-expo

Starter kit for a Farcaster client. Uses Expo + React Native + Neynar.

Getting Started Locally

  1. Start the development server by running the command npm run server
  2. In a new terminal, run the command npx expo start -c
  3. Add a .env file with API_DEV_URL, PORT, API_PROD_URL, and NEYNAR_KEY environment variables.
  4. You'll want to plug in your server's URL into the API_DEV_URL variable (e.g. "http://localhost:3000"). I'd recommmend using ngrok if you want to test the build on your device or simulator using Expo Go.

Deploying the project

  1. First, you should deploy the server. I recommend using railway. Make sure you change the start command to npm run server and add the PORT and NEYNAR_KEY environment variables.
  2. Once deployed, you should enable a public domain (available in the instance's settings tab on Railway). Take that url (e.g. "https://example.up.railway.app") and put it in the API_PROD_URL environment variable in your project.
  3. Now take your entire env sheet and add it to the "secrets" section of your project on Expo's website. You may have to configure the project if you haven't already.
  4. To build and submit the app, use the npx eas build -p ios and npx eas submit -p ios. I haven't tested android submission so please let me know if it doesn't work for you.
  5. That should be it!

Built by @matthew. Use and reconfigure however you'd like. Shoot me questions via DC on Warpcast.

farcaster-expo's People

Contributors

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