Posts

Showing posts from April, 2025

Google Gemini (AI) API has free tier; Easily setup and ran tutorial article React app using API; Wrote 2nd Trial app with user choice for model

Last updated on 9 May 2025 Quick-Info Integrating basic query to and response from Gemini AI in a React app using free tier Gemini API is easy. Live site of 2nd version of related app I wrote with user choice for model: https://testgeminiapi.netlify.app/  . Public repo:  https://github.com/ravisiyer/testGeminiAPI  . Live site of 1st version of related app I created (based on below mentioned article):  https://geminiapitrial.netlify.app/  . Public repo:  https://github.com/ravisiyer/GeminiAPITrial  . The README.md file has screenshots . Related to app 1st version: Tried out this article's code and got it working on localhost: How to Integrate Gemini API with React.js: A Step-by-Step Guide., https://dev.to/tahrim_bilal/how-to-integrate-gemini-api-with-reactjs-a-step-by-step-guide-341b  . Had to run 'npm i react-scripts@latest' to get past digital envelope related errors on 'npm start'. Related to app 1st version: The app UI is quite decen...

Notes on Apollo GraphQL OpenAI ChatGPT Connector, 24 April 2025 live stream video (event)

Quick-Info Based on my viewing the video (event) and doing some browsing/reading up later, my summary view is as follows: Though advertised as "ChatGPT Connector—No Code Required", it is not exactly a 'no code' solution. It needs fair amount of declarative mapping code to transform ChatGPT REST API JSON response to JSON that frontend (React/Next.js etc.) needs. One has to learn how to use Apollo GraphQL Connector and related tools. One also has to learn ChatGPT REST API requests and responses. ChatGPT REST API does not seem to have free tier (unlike ChatGPT which has a free tier). So it seems that one has to pay money to use ChatGPT API even for sample programs. Note that even if Apollo GraphQL Connector is used, it invokes ChatGPT REST API and so has to pay money to ChatGPT API for that to work. If paid ChatGPT API usage is okay then going through Apollo GraphQL Connector may be easier than directly using ChatGPT REST API once one does the main declarative coding map...

Notes on learning stage of developing my own React Native education app using Expo Framework - Part 1

Last updated on 7 July 2025 Part 2:  Notes on learning stage of developing my own React Native education app using Expo Framework - Part 2 ============================= I am now seriously considering developing my own React Native education app using Expo framework. As a first step towards that, I have started viewing this tutorial (mentioned in my previous post ):  Simon Grimm: Build Your Own MASTERCLASS clone in React Native, https://www.youtube.com/watch?v=fO3D8lNs10c , 4 hrs. 42 mins, Mar. 2025,  "I’ll show you how to create a Learning Management System (LMS) powered by Strapi CMS, RevenueCat, Clerk, Expo, and Reanimated!" States that it will work on phone and web. App code: lms-react-native, https://github.com/Galaxies-dev/lms-react-native API code: https://github.com/Galaxies-dev/lms-api  . I have yet to study the above GitHub repo code. As I am watching the tutorial, I felt that I need to start writing some React Native with Expo framework code. So I have sta...