Code role-based authorization for my project (Nuxt & Firebase/Firestore)

Job ID: 31990688

Budget: $10 – $15 USD

I want someone to help me code the middleware and Nuxt store so that my web application can differentiate pages based on user type when they are login.

There will be 3 different users in my application:
1) subcontractor
2) contractor
3) worker

I want my app can log in to certain pages depending on their user type.

E.g:
Once login, user type subcontractor will go only to /subcontractor and /subcontractor2 etc.
Once login, user type contractor will go only to /contractor and /contractor2, etc.
Once login, user type worker will go only to /worker and /worker2, etc.

My project is using Nuxt/JavaScript and Firebase/Cloud Firestore. If possible to not using cloud functions would be so much better.

I need it to be done in 1-2 days.
Related categories: JavaScript Vue.js Google Firebase