1. Fix issues with loginUsingId method error when registering new users
Resolve authentication issues when attempting to register new users in a local setup preventing local development.
2. CSV/ JSON integration to populate application job listings data
We have a data cache in either CSV or JSON format that is populated by various web scraping tools with construction job ads from different sources.
We need to set up a API integration that reads the rows in the data and checks for existing Companies, Job Roles and Job Posts.
If the Company, Job Role or Job Post doesn't already exist in the database these need to be created. If the Company exists but neither the Job Role or Job Post exist it will need to create the new Job Role and Job Post and assign to the pre-existing Company accordingly. If the Job Role exists but neither the Company or Job Post exist it will need to create both the Company and Job Post and assign to Job Role accordingly.
This integration should run once a day checking the data cache for any new information. As we will need to review any new Job Posts created using the above data cache integration, when Posts are created from the data cache integration they will need to be set to Draft by default, before being reviewed and published live via the application admin area.
3. Setup post status types
As mentioned above new Job Posts created through the CSV/JSON integration will need to be set to a Draft status by default. Currently there are no status types for posts, they are published immediately after creation.
We will need to set up a status type against the posts and update the various internal API routes so that they do not return Posts with a draft status, preventing draft posts from being displayed on the front end.
4. Create Public Routes for Worker Profiles, Company Profiles and Job Listings
Currently there is no way to view worker profiles, company profiles or job listings without signing up to the build labour platform. We need to surface these routes so they can be accessed without authorization.