Follow this guide to fetch 🇹🇷 Turkey Zip Codes data from your Node.js app. The Node Fetch library will be used to fetch the database data through its REST API.
First you need to connect your app to the 🇹🇷 Turkey Zip Codes database. It will authorize you to access this database API using your app keys. If your app doesn't have keys at Back4App yet, they will be generated during this process.
Now let's customize your query to fetch the data that you need!
Install the Node Fetch library from npm:
Add the following code to your Node.js app:
After running the app, you should see the following output in your app logs: