WWYRD is an interactive decision-making assistant inspired by iconic role models such as Tony Stark, Jensen Huang, Manmohan Singh, Hedy Lamarr, Marie Curie, and Princess Diana (Princess of Wales). The app provides witty, personality-driven responses to help users make decisions, set goals, and stay on track with their resolutions. Whether you're trying to solve a problem or need guidance, WWYRD channels the wisdom and humor of your favorite role models to help you navigate life's challenges.
-
Role Model Selector
Users can choose from a variety of role models such as Tony Stark, Hedy Lamarr, and Marie Curie. Each role model brings their own personality and approach to decision-making.
-
Ask a Question
Users can type a question or a challenge they're facing, like "Should I take this opportunity?" or "How can I be more productive?"
-
Role Model-Inspired Responses
Depending on the chosen role model, the app generates witty, inspiring, or snarky responses that reflect their unique personalities and outlooks on life.
-
Resolution Suggestions
Based on the role model's persona, the app suggests resolutions such as "Invent a new tech gadget" or "Start a groundbreaking scientific experiment," with helpful breakdowns to guide users on how to achieve them.
-
Simple, Intuitive UI
A sleek, user-friendly interface that allows for easy navigation and interaction. It features cards for role model selection and an interactive input box for questions.
-
Backed by Technology
The app integrates with AI to generate creative responses, powered by Gemini API for natural language generation.
-
Home: Introduces WWYRD and has card components of 6 people(3 men, 3 women): Tony Stark, Hedy Lamarr, Marie Curie, Manmoman Singh, Jensen Huang, and Princess Diana.
-
Role-Model page: 6 different role model pages which will have a color scheme similar to them. Tony stark with iron man colors, Hedy Lamarr with withe and Gold (from that picture) etc
-
Authentication page: A sign up and login page.
- Frontend:
- React: A JavaScript library for building user interfaces.
- Vanilla CSS: Used for styling, including hover effects, animations, and responsiveness.
- Natural Language Generation API:
- Gemini 2.0 flash for generating personalized responses.
- Database: Firebase Cloud Firestore to store user interactions.
- Authentication: Firebase Authentication for user login/signup.
- Deployment: Vercel for hosting.
First, clone the repository to your local machine:
bash
CopyEdit
git clone https://github.com/ewa-edun/WWYRD.git
cd WWRYD
-
Navigate to the React project folder:
bash CopyEdit npm install
-
Install firebase, gemini, react-router-dom:
bash CopyEdit npm install react-router-dom npm install firebase npm install @google/generative-ai npm install @fortawesome/fontawesome-svg-core @fortawesome/free-solid-svg-icons @fortawesome/free-regular-svg-icons @fortawesome/react-fontawesome
- For the language generation API (Gemini), sign up for an API key and create a .env file in the root directory with gemini and firebsae key.
-
Run the React frontend:
bash CopyEdit npm run dev
Open your browser and go to http://localhost:5173.
- Choose Your Role Model:
- Users select a role model (e.g., Tony Stark, Marie Curie, etc.) via a card-based interface.
- Ask a Question:
- Users type in a decision or challenge they’re facing. For example, "Should I try a new hobby?" or "What career path should I follow?"
- Get Response:
- The app uses the Gemini API to generate a witty or insightful response based on the role model’s persona.
- Resolution Suggestions:
- Based on the response, users receive a resolution suggestion (e.g., "Learn to build something cool" or "Take a bold step in your career") with a breakdown on how to achieve it.