

A Food delivery with React Native
source link: https://reactnativeexample.com/a-food-delivery-with-react-native/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.


Deliveroo Clone with REACT NATIVE!
Deliveroo Clone with REACT NATIVE! (Navigation, Redux, Tailwind CSS & Sanity.io)
🌟 About the Project
📷 Screenshots
🔴 Open the camera app on your device and scan the code below (live demo)
👾 Tech Stack
ClientDatabase
🧰 Getting Started
‼️ Prerequisites
⚙️ Installation
Install my-project with expo
Installing Expo CLI
npm install --global expo-cli
Initializing the project
npx create-expo-app deliveroo-clone
cd deliveroo-clone
Install dependencies
Setup Tailwind CSS
npm install tailwindcss-react-native
npm install --save-dev tailwindcss
Tailwindcss requires a tailwind.config.js
file with the content section configured to include the paths to all of your components and any other source files that contain Tailwind class names.
// tailwind.config.js
module.exports = {
content: [
"./screens/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
// ...
};
Add TailwindProvider
at the top level of your application. The TailwindProvider
creates the context for reactive styles and the atomic style objects.
import { TailwindProvider } from "tailwindcss-react-native";
function MyAppsProviders({ children }) {
return <TailwindProvider>{children}</TailwindProvider>;
}
Configure your babel.config.js
// babel.config.js
module.exports = {
plugins: ["tailwindcss-react-native/babel"],
};
Install dependencies
🏃 Run Locally
Clone the project
git clone https://github.com/SashenJayathilaka/Deliveroo-Clone.git
change directory
cd Deliveroo-Clone
Install dependencies
npx expo install
Start the server
npx expo start
Creating a Build
- Optimize the assets for speed –
npx expo-optimize
(formerly expo optimize) - Bundle the project for production –
npx expo export:web
(expo build:web
in the legacy Expo CLI). - Creates a production ready static bundle in the
web-build/
directory. Don’t edit this folder directly. - If you make any changes to your project, you’ll need to re-build for production.
- For more help use
npx expo export:web --help
- More Info
🚩 Deployment
To deploy this project run
Expo Publish
publish your project
expo publish
🤝 Contact
Sashen – @twitter_handle – [email protected]
Project Link: https://github.com/SashenJayathilaka/Deliveroo-Clone.git
GitHub
Recommend
-
48
Best 5 Flutter Food Delivery App template 2020
-
10
A Bigger Truth About Restaurant Food Delivery
-
11
Best 5 Flutter Food Delivery App template 2020
-
8
SaveFood SaveFood - mobile application available on Android and iOS devices created to help you save food. SaveFood draws attention to how much the user wasted food and how it can help in the fight with hunger in the world. Th...
-
8
Apps Bolt Food React Native Clone Oct 20, 2021...
-
15
Food-Delivery-App ( React Native + Django ) Changes you have to made to backend. In backend edit PaymentViews.py file and write your own Paytm MERCHANT_ID and MERCHANT_KEY In the same file your have to write y...
-
9
Food Food delivery cross-platform mobile app made with React Native and Expo Oct 24, 2022 1 min read
-
7
Food-Delivery-App ( React Native + Django )
-
10
Food Food Delivery App with React Native Apr 25, 2023 1 min read
-
8
Recipes Food Recipe App using React Native Reanimated 3.0 and TailwindCSS Sep 03, 2023 1 min read
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK