-
Notifications
You must be signed in to change notification settings - Fork 0
User‐Manual‐Frontend‐Web
This manual provides step-by-step guides for using the Greener web application, designed to help users track waste, join eco-challenges, and engage with sustainability content.
Greener is a web application designed to help users track waste, participate in eco-challenges, and contribute to sustainability. This guide helps new users set up their accounts and start using the app.
-
Visit the Signup Page:
- Navigate to
/signupfrom the homepage. - Fill in required fields: Username, Email, Password, Confirm Password.
- Optional fields: First Name, Last Name, Bio, City, Country.
- Navigate to
-
Submit the Form:
- Click "Sign Up" to create your account.
- You'll be redirected to the login page upon success.
-
Log In:
- Go to
/login. - Enter your Email and Password, or use Google SSO.
- Click "Login" to access your dashboard.
- Go to
- Explore the Dashboard: View your eco-score and quick links to features.
-
Log Waste: Navigate to
/wasteto track your waste reduction. -
Join Challenges: Visit
/challengesto participate in community challenges. -
Update Profile: Go to
/profileto personalize your account.
-
Forgot Password? Use the
/forgot-passwordlink to reset it. - Login Issues? Ensure your email and password are correct, or use Google SSO.
-
Need Help? Contact support via the About Us page (
/about).
Greener uses a consistent navigation system to help users access features easily.
-
Homepage (
/): Introduces Greener with a hero section, mission, and eco-tips. -
About Us (
/about): Details the team and mission. -
Blog (
/blog): Lists sustainability articles; click a post to read more. -
Login (
/login) and Signup (/signup): Access account management.
-
Dashboard (
/dashboard): Central hub with eco-score, quick links, and tips. -
Waste Log (
/waste): Form to log waste and view recent entries. -
Leaderboard (
/leaderboard): Displays top users by eco-score. -
Challenges (
/challenges): Lists eco-challenges with join/view options. -
Profile (
/profile): Edit personal information and preferences. -
Logout: Available in
Navbaror profile card to sign out.
- Navbar: Appears on all pages, with links tailored to authentication status.
- Quick Links: On the dashboard, provides shortcuts to key features.
- Use the browser's back button or Navbar links to navigate.
- Check the active link in the Navbar (highlighted) to know your current page.
-
Access: Click "Sign Up" from the homepage or navigate to
/signup. -
Fields:
- Required: Username, Email, Password, Confirm Password.
- Optional: First Name, Last Name, Bio, City, Country.
-
Action: Submit the form to create an account. Redirects to
/login.
-
Access: Click "Login" or go to
/login. -
Options:
- Email/Password: Enter credentials and click "Login".
- Google SSO: Click the Google button to sign in via Google.
- Remember Me: Check to persist your session (optional).
-
Redirect: Successful login takes you to
/dashboard.
-
Forgot Password:
- Click "Forgot Password?" on the login page (
/forgot-password). - Enter your email and submit.
- Check your inbox (and spam) for a reset link.
- Click "Forgot Password?" on the login page (
-
Reset Password:
- Click the reset link (
/reset-password/:uid/:token). - Enter and confirm your new password.
- Redirects to
/loginupon success.
- Click the reset link (
- Click "Logout" in the Navbar or profile card on the dashboard.
- Clears session and redirects to
/login.
The About Us page provides information about the Greener mission, team, and goals, helping users understand the application's purpose and connect with its values.
- From Homepage: Click "About" in the Navbar.
-
Direct URL: Navigate to
/about. - Availability: Accessible to all users, no login required.
-
View Mission Statement:
- Read about Greener's commitment to sustainability and waste reduction.
-
Meet the Team:
- Browse profiles of team members, including names, roles, and brief bios.
- Note: Team data is static or fetched from the backend API (if dynamic).
-
Explore Goals:
- Learn about Greener's objectives, such as promoting eco-friendly habits.
-
Contact Us:
- Find a contact form or email link (if available) to reach the team.
- Example: Submit questions or feedback via a form at the bottom of the page.
- Static Content: Mission and team details are displayed consistently.
- Responsive Design: Optimized for desktop and mobile devices.
- Navigation: Use the Navbar to return to the homepage or other public pages.
- Check the About Us page to understand Greener’s purpose before signing up.
- Use the contact form (if present) for support or inquiries.
- Page Not Loading? Ensure you have an internet connection and the backend API is running.
- Contact Form Issues? Verify your email input and check spam for responses.
The Blog feature provides sustainability articles, tips, and updates to educate and engage users, fostering a community around eco-friendly practices.
- From Homepage: Click "Blog" in the Navbar.
-
Direct URL: Navigate to
/blog. - Availability: Accessible to all users, no login required.
-
Browse Posts:
- View a list of blog posts with titles, summaries, and publication dates.
- Scroll or use pagination (if implemented) to see more posts.
-
Read a Post:
- Click a post title or "Read More" to view the full article (navigates to
/blog/:id). - Read content, including text, images, and embedded media (if any).
- Click a post title or "Read More" to view the full article (navigates to
-
Navigate Back:
- Use the Navbar’s "Blog" link or browser’s back button to return to the post list.
-
Search or Filter (Optional):
- If available, use a search bar or category filters to find specific topics (e.g., "Recycling Tips").
- Post List: Displays recent posts in a grid or list format.
-
Dynamic Routing: Individual posts accessed via
/blog/:id. - Responsive Design: Readable on all devices.
-
API-Driven: Posts fetched from the backend API (assumed endpoint:
/api/blog/posts/).
- Check the blog regularly for new sustainability tips.
- Bookmark favorite posts using your browser for quick access.
- Share posts via social media buttons (if implemented).
- Posts Not Loading? Verify your internet connection or check if the backend API is down.
- Broken Links? Ensure the post ID in the URL is valid.
-
Need Help? Contact support via the About Us page (
/about).
The Challenges feature allows users to participate in eco-friendly challenges (e.g., "Reduce Plastic Use") to earn points, boost their eco-score, and engage with the community.
- From Dashboard: Click "Challenges" in the Navbar or a quick link on the dashboard.
-
Direct URL: Navigate to
/challenges. -
Availability: Requires login; redirects to
/loginif unauthenticated.
-
Browse Challenges:
- View a list of available challenges, each displayed as a
ChallengeCard. - Details include challenge name, description, duration, and points.
- View a list of available challenges, each displayed as a
-
Join a Challenge:
- Click "Join" on a challenge card.
- Confirm participation (may involve a modal or API call).
- Joined challenges may appear in a "My Challenges" section.
-
Track Progress:
- Check your progress on active challenges (e.g., tasks completed, points earned).
- Progress may update automatically (e.g., after logging waste) or require manual input.
-
Complete Challenges:
- Finish tasks to complete the challenge.
- Earn points added to your eco-score, visible on the dashboard.
- Challenge Cards: Interactive components showing challenge details.
-
API Integration: Fetches challenges from the backend (assumed endpoint:
/api/challenges/). -
Progress Tracking: Updates via API calls (e.g.,
/api/challenges/:id/progress). - Responsive Design: Optimized for all devices.
- Join challenges that align with your lifestyle for easier completion.
- Check the dashboard for updates on your challenge progress.
- Participate regularly to improve your eco-score and leaderboard ranking.
- Can’t Join? Ensure you’re logged in and the challenge is still active.
- Progress Not Updating? Verify your actions (e.g., waste logs) are recorded.
- Need Help? Contact support via the About Us page.
The Dashboard is the central hub for authenticated users, providing an overview of their eco-score, quick links to features, and personalized eco-tips.
-
After Login: Automatically redirected to
/dashboardafter signing in. - From Navbar: Click "Dashboard" in the top navigation.
-
Direct URL: Navigate to
/dashboard. -
Availability: Requires login; redirects to
/loginif unauthenticated.
-
View Eco-Score:
- See your current eco-score (points earned from waste logging, challenges, etc.).
- Displayed prominently, often with a visual indicator (e.g., gauge or number).
-
Access Quick Links:
- Click links or buttons to navigate to features like Waste Log, Challenges, or Profile.
- Example: "Log Waste" button takes you to
/waste.
-
Read Eco-Tips:
- Browse personalized or general sustainability tips (e.g., "Compost food scraps").
- Tips may rotate or be fetched from the backend.
-
Check Recent Activity:
- View recent waste logs or challenge updates (if implemented).
- Example: "Logged 2kg of plastic on May 12".
-
Eco-Score Display: Fetched via API (e.g.,
/api/waste/scores/me/). - Quick Links: Shortcuts to key features for easy navigation.
- Dynamic Content: Tips and activity updated via API or Redux state.
- Responsive Design: Optimized for desktop and mobile.
- Visit the dashboard daily to track your eco-score and discover new tips.
- Use quick links to save time navigating to frequent features.
- Monitor your recent activity to stay motivated.
- Eco-Score Not Updating? Ensure waste logs or challenges are submitted correctly.
- Tips Not Loading? Check your internet connection or API status.
- Need Help? Contact support via the About Us page.
The Leaderboard showcases top users ranked by their eco-scores, encouraging competition and community engagement.
- From Dashboard: Click "Leaderboard" in the Navbar or a quick link.
-
Direct URL: Navigate to
/leaderboard. -
Availability: Requires login; redirects to
/loginif unauthenticated.
-
View Rankings:
- See a list of users sorted by eco-score (highest to lowest).
- Details include username, eco-score, and rank (e.g., #1, #2).
-
Find Your Rank:
- Look for your username in the list or a highlighted "Your Rank" section.
- Displays your current eco-score and position.
-
Filter or Sort (Optional):
- If available, use filters (e.g., "Friends Only") or sort options (e.g., "This Week").
-
Boost Your Rank:
- Log waste (
/waste) or join challenges (/challenges) to increase your eco-score.
- Log waste (
-
Dynamic Rankings: Fetched from the backend (assumed endpoint:
/api/leaderboard/). - User Highlight: Your rank is emphasized (e.g., bold or colored).
- Responsive Design: Viewable on all devices.
- Check the leaderboard weekly to track your progress.
- Participate in challenges to climb the rankings faster.
- Encourage friends to join Greener for friendly competition.
- Rank Not Showing? Ensure you’ve logged waste or completed challenges.
- Data Not Loading? Verify your internet connection or API status.
- Need Help? Contact support via the About Us page.
The Profile page allows users to view and edit their personal information, customize preferences, and manage their account settings.
- From Dashboard: Click "Profile" in the Navbar or a quick link.
-
Direct URL: Navigate to
/profile. -
Availability: Requires login; redirects to
/loginif unauthenticated.
-
View Profile:
- See your details: Username, Email, First Name, Last Name, Bio, City, Country.
- View your eco-score and account creation date (if displayed).
-
Edit Profile:
- Click "Edit" or a pencil icon to enter edit mode.
- Update fields like Bio, City, or Country.
- Click "Save" to submit changes (sends PATCH to
/api/user/me/).
-
Change Password (Optional):
- If available, use a "Change Password" link to update your password.
- Requires current password and new password confirmation.
-
Manage Preferences:
- Toggle settings like email notifications or theme (if implemented).
-
Logout:
- Click "Logout" (in Navbar or profile card) to sign out.
-
Dynamic Data: Fetched via API (e.g.,
/api/user/me/). - Form Validation: Ensures valid inputs (e.g., email format, required fields).
- Responsive Design: Optimized for all devices.
- Keep your profile updated with a bio and location to engage with the community.
- Save changes frequently to avoid losing edits.
- Use a strong password if updating it.
- Changes Not Saving? Check for validation errors or network issues.
- Profile Not Loading? Ensure you’re logged in and the API is running.
- Need Help? Contact support via the About Us page.
The Waste Logging feature allows users to track their waste reduction efforts, categorize waste types, and contribute to their eco-score.
- From Dashboard: Click "Waste Log" in the Navbar or a quick link.
-
Direct URL: Navigate to
/waste. -
Availability: Requires login; redirects to
/loginif unauthenticated.
-
View Recent Logs:
- See a list of your recent waste logs (e.g., "2kg Plastic, May 12").
- Includes category, quantity, and date.
-
Log New Waste:
- Fill out the form:
-
Category: Select from a dropdown (e.g., Plastic, Organic), fetched from
/api/waste/subcategories/. - Quantity: Enter the amount (e.g., 1.5 kg).
- Date (Optional): Defaults to today.
-
Category: Select from a dropdown (e.g., Plastic, Organic), fetched from
- Click "Submit" to save the log (sends POST to
/api/waste/logs/).
- Fill out the form:
-
Edit or Delete Logs (Optional):
- If available, click an edit/delete icon next to a log to modify or remove it.
- Confirm changes via a modal or form.
-
Check Eco-Score Impact:
- New logs increase your eco-score, visible on the dashboard.
- Dynamic Form: Categories loaded from the backend API.
- Log History: Displays past entries with pagination (if implemented).
-
API Integration: Submits and retrieves data via
/api/waste/logs/. - Responsive Design: Usable on all devices.
- Log waste daily to accurately track your habits.
- Use specific categories for better insights (e.g., "Glass" vs. "Other").
- Check your eco-score on the dashboard after logging.
- Form Not Submitting? Verify all required fields are filled and valid.
- Categories Not Loading? Check your internet or API status.
- Need Help? Contact support via the About Us page.
- Lab1
- Lab 1 Meeting Notes
- Lab2
- Lab 2 Meeting Notes
- Lab3
- Lab 3 Meeting Notes
- Lab4
- Lab4 Meeting Notes
- Lab5
- Lab5 Meeting Notes
- Lab 5: MVP Implementation & Planning
- Lab6
- Lab6 Meeting Notes
- Lab7
- Lab7 Meeting Notes
- Lab 7: Milestone 2 Demo Preparation
- Lab8
- Lab8 Meeting Notes
- Lab 8: Requirements Review & Acceptance Planning
- Ahmet's Bio
- Barathan's Bio
- Berkay's Bio
- Berke's Bio
- Caglar's Bio
- Mehmet Emin's Bio
- Nilsu's Bio
- Ömer's Bio
- Selman's Bio
- Taha's Bio
Ahmet Okta
Barathan Aslan
Berke Kartal
Mehmet Çağlar Kurt
Mehmet Emin Atak
Muhammet Berkay Keskin
Mustafa Taha Söylemez
Nilsu Tüysüz
Selman Akman
Ömer Faruk Bayram
- Use Case Diagram
- Class Diagram
- Sequence Diagrams - Admin Management and Moderator Functions
- Sequence Diagrams - Rewards, Badges and Leaderboard System
- Sequence Diagrams - Notification System
- Sequence Diagrams - Tips and Recommendations
- Sequence Diagrams - Challenge and Activity Tracking
- Sequence Diagrams - Waste Tracking and Scoring System
- Sequence Diagrams - User and Account Management
- Sequence Diagrams - Goal Management
- Sequence Diagrams - Authentication
- Sequence Diagrams - Session Management
- Sequence Diagrams - Events Management
- Project Plan
- Requirements
- Elicitation Questions & Answers
- Scenario #1
- Scenario #2
- Scenario #3
- Scenario #4
- Scenario #5
- Scenario #6
- Scenario #7
- Scenario #8
- Scenario #9
- Scenario #10
- Scenario #11
- Scenario #12
- Scenario #13
- Scenario #14
- Use Case Diagram
- Class Diagram
- Sequence Diagrams - Admin Management and Moderator Functions
- Sequence Diagrams - Rewards,Badges and Leaderboard System
- Sequence Diagrams - Notification System
- Sequence Diagrams - Tips and Recommendations
- Sequence Diagrams - Challenge and Activity Tracking
- Sequence Diagrams - Waste Tracking and Scoring System
- Sequence Diagrams - User and Account Management
- Sequence Diagrams - Goal Management
- Sequence Diagrams - Auth
- Sequence Diagrams - Session Management
- User Manual for Frontend-Web
- System Manual for Frontend-Web
- Research Documentation for Frontend-Web
- Testing Manual for Frontend-Web