This is a web application that generates daily horoscope predictions for users based on their zodiac sign, utilizing the power of Chat GPT. It provides personalized predictions in three major categories: money, love, and health. The application is built with Angular and Spring Boot as the frontend and backend technologies, respectively.
Note that this is a proof of concept webside and is not yet ready for production. + the API key in there is disabled and is present only for reference. Add your own OpenAI api key in the `/astro-ai-backend/astro/src/main/application.properties` file.
- User-friendly interface for entering and submitting personal information, including email, horoscope, and date of birth.
- Secure data handling with server-side validation and protection.
- Chat GPT integration to generate accurate and engaging horoscope predictions.
- Daily horoscope predictions tailored to the user's zodiac sign.
- Prediction categories include money, love, and health, providing comprehensive insights.
- Responsive design for optimal user experience across different devices.
To run this application locally, follow these steps:
- Node.js and npm should be installed on your system.
- Java Development Kit (JDK) version 11 or higher is required.
- Apache Maven for building the Spring Boot backend.
-
Clone the repository:
git clone https://github.com/your-username/horoscope-prediction-website.git
-
Navigate to the frontend directory:
cd horoscope-prediction-website/frontend -
Install the dependencies:
npm install
-
Start the frontend development server:
ng serve
The application will be accessible at
http://localhost:4200in your web browser.
-
Open a new terminal window and navigate to the backend directory:
cd horoscope-prediction-website/backend -
Build the backend application using Maven:
mvn clean install
-
Start the Spring Boot server:
java -jar target/horoscope-prediction-website.jar
The backend server will start on
http://localhost:8080.
-
Open your web browser and access
http://localhost:4200to load the application. -
Fill in the required information, including your email, horoscope, and date of birth.
-
Click the "Generate Predictions" button to receive personalized horoscope predictions.
-
The application will display three separate predictions for money, love, and health, based on your zodiac sign.
-
Enjoy reading your daily horoscope predictions!
Contributions are welcome! If you want to enhance the application or fix any issues, please follow these steps:
-
Fork the repository.
-
Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
-
Make your changes and test thoroughly.
-
Commit your changes with a descriptive commit message:
git commit -m "Add feature or fix bug" -
Push your branch to your forked repository:
git push origin feature/your-feature-name
-
Open a pull request on the main repository.
This project is licensed under the MIT License.
- This application utilizes the power of Chat GPT, powered by OpenAI's GPT-3.5 model.
- Thanks to the Angular and Spring Boot communities for their excellent frameworks.
- Special thanks to OpenAI for providing cutting-edge natural language processing capabilities.