Certainly! Here's the updated README file based on the template you provided:
This website allows users to select a tarot card from a dropdown menu or to have one randomly selected. It then provides a prediction for the day based on the meaning of the selected card. The predictions are generated using the ChatGPT Ai Chatbot API. With an established Node.js server-- using Express.js, and the API key stored securely in a '.env' file (accessed via the 'dotenv' package)-- Requests are sent to the API handled server-side in a Netlify Function. The server-side application is asynchronous, using JavaScript's async/await syntax for handling promises.
Click "Select My Card" to have a random card selected for you.
The dropdown menu allows users to select a card from a list of options. Each card is represented by the Raider Waite image of the card and its name.
Once a card is selected, the application uses the selected card's name to make an API call to ChatGPT and returns a prediction for the day based on the generated meaning of the selected card.
Clone the repository to your local machine: https://github.com/LurieK/DailyTarot-Copy.git
Navigate to the project folder and locate the index.html
file.
Copy the file path of the index.html
file and paste it into the address bar of your preferred web browser, or double-click the file to open it in your default browser.
Example of a file path: file:///C:/Users/YourUsername/path/to/dailytarot/index.html
Or to view, click here
This application was created by Luraine Kimmerle using the following resources:
- Tarot card images from Rider Waite Tarot
- Tarot card meaning API from ChatGPT Ai Chat bot
This app is a simple demo project and is not currently accepting contributions. However, if you find a bug or have a feature request, feel free to open an issue on the GitHub repository.
Feel free to update this README file in your GitHub repository. Let me know if you have any more questions or need further clarifications!