App to create recipes based on your favorite ingredients using ChatGPT API.
App developed to test my knowledge in Android Native and use new technologies and best practices. The app is designed to create recipes using artificial intelligence, specifically ChatGPT API, these recipes are generated based on your ingredients preferences, creating something perfect for you.
The app sends to the AI, information about ingredients that you are allergic to, intolerant of, or dislike. Being inclusive of all the users.
The app follows the practices and uses the official Android app Now In Android as a reference.
✔️ Login with Google.
✔️ Create recipes using ChatGPT API.
✔️ Details of your recipes.
✔️ Historic of your recipes with filters.
✔️ Favorite your recipes.
The Receptia app follows the Google's official recommendations, utilizing the latest tools such as Window Size Class and List Panes to ensure an optimized and responsive design. For a detailed explanation of the responsive layout, please refer to the corresponding section in the README.
The Receptia app is designed with accessibility in mind, ensuring an inclusive experience for all users. It incorporates the following features:
- High contrast color schemes
- Scalable text size
- Compatibility with TalkBack
- Dark mode support
- Intuitive navigation
- Optimized touch targets for ease of use
For a detailed explanation of the accessibility features, please refer to the corresponding section in the README.
- Install Android Studio, if you don't already have it;
- Download or clone the ReceptIa Project;
- Add Firebase to your Android project, following the intructions of Option 1, and the Step 1, Step 2 and Step 3.1;
- If you haven't yet specified your app's SHA fingerprint in Firebase, do so from the Settings page of the Firebase console. Refer to Authenticating Your Client for details on how to get your app's SHA fingerprint.
- Enable Google as a sign-in method in the Firebase console: a. In the Firebase console, open the Auth section. b. On the Sign in method tab, enable the Google sign-in method and click Save.
- When prompted in the console, download the updated Firebase config file (google-services.json), which now contains the OAuth client information required for Google sign-in.
- Move this updated config file into your Android Studio project, replacing the now-outdated corresponding config file. (See Add Firebase to your Android project.)
- In your firebase console open Authentication. Click Sign-in method, then click Google. Finally open Web SDK Configuration and save the Web Client Id;
- Now create your developer account on OpenAI platform
- Click Settings. Open the Manage Account, then click API Keys. Finally, create your secret key and save its value;
- Open the ReceptIA into Android Studio;
- Open the
local.propetiesfile. Add the parameters below with the values saved on the last steps:
GPT_API_KEY={YOUR_OPEN_AI_SECRET_KEY}
WEB_CLIENT_ID={YOUR_FIREBASE_WEB_CLIENT_ID}
- Build and run.
| Yan Falcão |




