{"id":28762346,"url":"https://github.com/novikovadaria/salesforce","last_synced_at":"2025-06-17T08:08:02.559Z","repository":{"id":293211978,"uuid":"975686630","full_name":"novikovadaria/salesforce","owner":"novikovadaria","description":"Тестовое задание на позицию Trainee Apex Developer в Salesforce | Test task for the position of Trainee developer (Salesforce)","archived":false,"fork":false,"pushed_at":"2025-05-14T07:29:40.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T08:39:09.452Z","etag":null,"topics":["apex","apex-class","apex-framework","salesforce","salesforce-developers"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/novikovadaria.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-30T18:16:35.000Z","updated_at":"2025-05-14T07:29:44.000Z","dependencies_parsed_at":"2025-05-14T08:41:29.982Z","dependency_job_id":"f9196751-afc3-4171-84ee-44044c2f043f","html_url":"https://github.com/novikovadaria/salesforce","commit_stats":null,"previous_names":["novikovadaria/salesforce"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/novikovadaria/salesforce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novikovadaria%2Fsalesforce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novikovadaria%2Fsalesforce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novikovadaria%2Fsalesforce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novikovadaria%2Fsalesforce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/novikovadaria","download_url":"https://codeload.github.com/novikovadaria/salesforce/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novikovadaria%2Fsalesforce/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260318682,"owners_count":22991121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apex","apex-class","apex-framework","salesforce","salesforce-developers"],"created_at":"2025-06-17T08:08:01.909Z","updated_at":"2025-10-14T12:12:44.356Z","avatar_url":"https://github.com/novikovadaria.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Test task for the position of Trainee developer (Salesforce)\n\n## Item Purchase Tool\nYou need to implement a simple one-page application to allow the user to create a purchase.\n\n### Requirements:\n\n- You need to create Custom Objects according to the Data Model\n- All requirements represent as User Stories with useful links\n- You can use only LWC components and Apex classes, Aura component you can use only as a container for LWC components if you need\n- Cover Apex code by Unit Tests\n- Create a repo on GitHub, try to commit the changes more often. Send GitHub Repo URL by email when the task was done.\n- Create Admin user for dev@truesolv.com on Salesforce Dev Instance when the task was done\n- Create an unmanaged package - Create and Upload an Unmanaged Package\n- \n### Data Model:\n\n- Purchase__c - new custom object\n- Name - String\n- ClientId - Lookup to Account object\n- TotalItems - Number\n- GrandTotal - Number\n- PurchaseLine__c - new custom object\n- PurchaseId - Master-Detail to Purchase__c\n- ItemId - Master-Detail to Item__c\n- Amount - Number\n- UnitCost - Number\n- Item__c -  new custom object\n- Name - String\n- Description - String\n- Type - Picklist\n- Family - Picklist\n- Image - Url - link to image\n- Price - Number\n-User - standard object\n- IsManager - Boolean new custom field\n\n### User stories:\n- As a user, I can open an Item Purchase Tool page from Account layout (You need to put a button to Account layout that will open an Item Purchase Tool page in separate tab), the Account Object is not the same as the User object\n- As a user, I can see Account Name, Number, Account Industry on the page\n- As a user, I can filter the displayed items by Family and Type\n- As a user, I can see the count of listed items on the screen in the filter section\n- As a user, I can search for the item by Name and Description\n- As a user, I can see item details in modal window (Details button on Item Tile), also I can see an image of the item based on the Image URL on the item, link to get below\n- As a user, I can select an item and add it to Cart (Add button on Item Tile)\n- As a user, I can see items in the Cart (Cart button will open a modal with selected items in table view)\n- As a user, I can check out a Cart (Checkout button on Cart Modal) This action will create Purchase and Purchase Line records. \n- TotalItems and GrandTotal on Purchase__c object should be calculated automatically in a Trigger based on Purchase Line records.\n- As a user, after checking out the cart I should be redirected to the standard Purchase layout to see created Purchase and Purchase Line records\n- As a manager, I should have the ability to create a new item in the modal window. (Create an Item button. The button should be available only for users with IsManager__c = true)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovikovadaria%2Fsalesforce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnovikovadaria%2Fsalesforce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovikovadaria%2Fsalesforce/lists"}