**๐ง Fix Role-Based Routing in Base44 App (React) โ Quick Job**
Worldwide
**๐ง 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/weekHourly
- < 1 monthDuration
- IntermediateExperience Level
$15.00
-
$30.00
Hourly- Remote Job
- One-time projectProject Type
Skills and Expertise
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
- United StatesMilwaukee9:37 PM
- $42K total spent7 hires, 3 active
- 8,081 hours
- Mid-sized company (10-99 people)
Explore similar jobs on Upwork
How it works
Create your free profileHighlight your skills and experience, show your portfolio, and set your ideal pay rate.
Work the way you wantApply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.
Get paid securelyFrom contract to payment, we help you work safely and get paid securely.
About Upwork
- 4.9/5(Average rating of clients by professionals)
- G2 2021#1 freelance platform
- 49,000+Signed contract every week
- $2.3BFreelancers 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