2023-01-31
3138
#react native
Taofiq Aiyelabegan
156994
111
Jan 31, 2023 â‹… 11 min read

Choosing and connecting a React Native backend

Taofiq Aiyelabegan Taofiq is a technical writer and software engineer working on building mobile and web applications. Additionally, he likes to contribute to open source projects and exploring new topics.

Recent posts:

Using Aoi Js To Build A Bot For Discord

Using aoi.js to build a bot on Discord

Explore how the aoi.js library makes it easy to create Discord bots with useful functionalities for frontend applications.

Rahul Padalkar
Apr 17, 2024 â‹… 9 min read
Web Components Adoption Guide: Overview, Examples, And Alternatives

Web Components adoption guide: Overview, examples, and alternatives

Evaluate Web Components, a set of standards that allow you to create custom HTML tags for more reusable, manageable code.

Elijah Asaolu
Apr 16, 2024 â‹… 11 min read
Using Aws Lambda And Aws Cloudfront To Optimize Image Handling

Using AWS Lambda and CloudFront to optimize image handling

Leverage services like AWS Lambda, CloudFront, and S3 to handle images more effectively, optimizing performance and providing a better UX.

Nitish Sharma
Apr 12, 2024 â‹… 12 min read
Building Web-Based Terminal Components With Termino.js

Building web-based terminal components with Termino.js

Explore Termino.js, an open source library for integrating web-based terminals into applications, in this introduction article.

Chibuike Nwachukwu
Apr 11, 2024 â‹… 6 min read
View all posts

2 Replies to "Choosing and connecting a React Native backend"

  1. Hey Danny, As it was mentioned above:

    “React Native does not allow localhost for making connections and network requests with a backend that is not hosted on the internet.” That is why we are gertting the IP address and setting is as our base url during development so we can me HTTP requests.

    For example:

    let baseUrl = ‘http://172.29.xxx.223:3000’;

    const {data} = await axios.get(`${baseUrl}/workouts`);

    The ‘3000’ is the port on your local dev server.

Leave a Reply