**๐Ÿ”ง Fix Role-Based Routing in Base44 App (React) โ€” Quick Job**

Posted 2 weeks ago

Worldwide

Summary

**๐Ÿ”ง Fix Role-Based Routing in Base44 App (React) โ€” Quick Job** **Budget: $100โ€“$200 | Timeline: 24โ€“48 hours** --- **About the App** EntregarPro is a construction materials delivery app โ€” think DoorDash but for lumber, hardware, and building supplies. It's built on Base44 and is 95% complete. The UI, pages, data model, and admin panel are all fully built out. **The Problem** The app has three user roles: `customer`, `driver`, and `admin`. The role routing is broken โ€” every user regardless of role gets redirected to the Admin Dashboard after login. The pages exist (`/DriverDashboard`, `/CustomerDashboard`, `/AdminDashboard`, `/ChooseRole`, etc.) but the auth guard logic is not functioning correctly. **What Needs to Be Fixed** 1. After login, check the user's `role` field and route accordingly: - `admin` โ†’ `/AdminDashboard` - `driver` โ†’ `/DriverDashboard` - `customer` โ†’ `/CustomerDashboard` - New user with no role โ†’ `/ChooseRole` 2. Add a route guard to EVERY protected page so that: - Drivers cannot access admin or customer pages - Customers cannot access admin or driver pages - Admin can access all pages 3. Guard must run on page load, not just at login **Tech Stack** - Base44 (React-based AI app builder) - You will be given full access to the Base44 project **You're a fit if you:** - Have experience with React and client-side routing (React Router or similar) - Have worked with Base44 or can navigate AI-generated React code - Can deliver a working fix with a short walkthrough video confirming all three roles route correctly **Deliverable** All three roles (customer, driver, admin) log in and land on their correct dashboard. No role can access another role's pages. Short Loom video showing the fix in action. If you've done this before and can start immediately, let's talk.

  • Less than 30 hrs/week
    Hourly
  • < 1 month
    Duration
  • Intermediate
    Experience Level
  • $15.00

    -

    $30.00

    Hourly
  • Remote Job
  • One-time project
    Project Type
Skills and Expertise
Mandatory skills
React
base 44
Activity on this job
  • Proposals:50+
  • Last viewed by client:2 weeks ago
  • Hires:
    1
  • Interviewing:
    9
  • Invites sent:
    4
  • Unanswered invites:
    0
About the client
Member since Feb 9, 2019
  • United States
    Milwaukee9:37 PM
  • $42K total spent
    7 hires, 3 active
  • 8,081 hours
  • Mid-sized company (10-99 people)

Explore similar jobs on Upwork

Promote Android Fitness ApplicationHourlyโ€ Posted 3 weeks ago
Android App Development
Mobile App Development
Android
Internet Marketing
PHP
MySQL
Mobile App Development
Web Development

How it works

  • Post a job icon
    Create your free profile
    Highlight your skills and experience, show your portfolio, and set your ideal pay rate.
  • Talent comes to you icon
    Work the way you want
    Apply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.
  • Payment simplified icon
    Get paid securely
    From contract to payment, we help you work safely and get paid securely.
Want to get started? Create a profile

About Upwork

  • Rating is 4.9 out of 5.
    4.9/5
    (Average rating of clients by professionals)
  • G2 2021
    #1 freelance platform
  • 49,000+
    Signed contract every week
  • $2.3B
    Freelancers earned on Upwork in 2020

Find the best freelance jobs

Growing your career is as easy as creating a free profile and finding work like this that fits your skills.

Trusted by

  • Microsoft Logo
  • Airbnb Logo
  • Bissell Logo
  • GoDaddy Logo