Skip to content

billy93/expo-web-api-uber

Repository files navigation

Welcome to your Expo app 👋

This is an Expo project created with create-expo-app.

How to deploy this to vercel

According to the recommendations from

Expo Router API Routes Documentation, the following changes need to be made:

  1. In package.json, add the following line:

    "vercel-build": "expo export -p web"
  2. Create a file named api/index.ts.

  3. Don't forget to add the environment variables DATABASE_URL and STRIPE_SECRET_KEY to Vercel

After making these changes, you can proceed to deploy to Vercel.

Here are some example APIs you can try to access:

About

Here is the deployed API for the Uber app from https://github.com/adrianhajdin/uber to answer the question on how to deploy the Uber API. This is my uber app https://github.com/billy93/uber

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors