{"id":15291978,"url":"https://github.com/rajmalpankaj786/prospecta_assignment","last_synced_at":"2026-05-09T14:42:40.493Z","repository":{"id":255818201,"uuid":"853664825","full_name":"Rajmalpankaj786/prospecta_Assignment","owner":"Rajmalpankaj786","description":"prospecta company Assignment ","archived":false,"fork":false,"pushed_at":"2024-09-10T08:05:58.000Z","size":30641,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T15:12:35.617Z","etag":null,"topics":["maven","resttemplate","spring-boot"],"latest_commit_sha":null,"homepage":"https://fakestoreapi.com/products","language":"Java","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/Rajmalpankaj786.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}},"created_at":"2024-09-07T07:16:55.000Z","updated_at":"2024-09-10T08:06:02.000Z","dependencies_parsed_at":"2024-09-10T07:23:58.951Z","dependency_job_id":null,"html_url":"https://github.com/Rajmalpankaj786/prospecta_Assignment","commit_stats":null,"previous_names":["rajmalpankaj786/prospecta_assignment"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rajmalpankaj786%2Fprospecta_Assignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rajmalpankaj786%2Fprospecta_Assignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rajmalpankaj786%2Fprospecta_Assignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rajmalpankaj786%2Fprospecta_Assignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rajmalpankaj786","download_url":"https://codeload.github.com/Rajmalpankaj786/prospecta_Assignment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245247552,"owners_count":20584373,"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":["maven","resttemplate","spring-boot"],"created_at":"2024-09-30T16:15:26.150Z","updated_at":"2026-05-09T14:42:40.455Z","avatar_url":"https://github.com/Rajmalpankaj786.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prospecta_Assignment\n## Assignment 1. \u003cbr\u003e\nThis project is a Spring Boot REST API implementation using the Fake Store API. It contains two tasks:\n\nTask 1: Retrieve product details based on the category passed as an input parameter. \u003cbr\u003e\nTask 2: Add a new product entry using a POST request.\u003cbr\u003e\nTask 3: What are the key things you would consider when creating/consuming an API to ensure that it is secure and reliable?\n\nAPI Endpoints \u003cbr\u003e\nTask 1: List Products by Category \u003cbr\u003e\nEndpoint: /products/category/jewelery \u003cbr\u003e\nMethod: GET \u003cbr\u003e\nDescription: Fetch a list of products based on the category passed as an input parameter.\u003cbr\u003e\nExample Request:\u003cbr\u003e\nGET http://localhost:8080/products/category/jewelery\u003cbr\u003e\n\u003cbr\u003e\nTask 2: Add a New Product\u003cbr\u003e\nEndpoint: /api/v1/products/add\u003cbr\u003e\nMethod: POST\u003cbr\u003e\nDescription: Add a new product to the Fake Store API.\u003cbr\u003e\nExample Request:\u003cbr\u003e\nPOST http://localhost:8080/products/add \u003cbr\u003e\n\u003cbr\u003e \nTask 3: adding new data in the database is not permanent, it's a temporary base so this is the challenge.\u003cbr\u003e\n\n\u003cbr\u003e\n\n## Assignment 2: \u003cbr\u003e\n# CSV Formula Evaluator\u003cbr\u003e\n\u003cbr\u003e\n# Problem Description\u003cbr\u003e\nThis program processes a CSV file where some cells contain values, and others contain Excel-like formulas. The program reads the CSV, evaluates any formulas, and outputs a new CSV file with the calculated results.\u003cbr\u003e\n\nExample Input \u003cbr\u003e\n\tA\tB\tC \u003cbr\u003e\n1\t5\t3\t=5+A1 \u003cbr\u003e\n2\t7\t8\t=A2+B2 \u003cbr\u003e\n3\t9\t=4+5\t=C2+B3 \u003cbr\u003e\nExpected Output \u003cbr\u003e\nAfter evaluation, the program should replace formulas with calculated values and produce a CSV like:\u003cbr\u003e\n\tA\tB\tC \u003cbr\u003e\n1\t5\t3\t10 \u003cbr\u003e\n2\t7\t8\t15 \u003cbr\u003e\n3\t9\t9\t24 \u003cbr\u003e\n\u003cbr\u003e\nque 1: How will you tackle the challenge above?\u003cbr\u003e\nAns:\u003cbr\u003e\nSteps for the Program Flow\nView: reads the input CSV file.\u003cbr\u003e\nController: passes the data to the Model.\u003cbr\u003e\nModel: processes the data, evaluates formulas, and sends the result back to the View.\u003cbr\u003e\nView writes the processed data into a new output CSV file.\u003cbr\u003e\n\n\nque 2: What type of errors you would you check for?\u003cbr\u003e\nAns: Handle Errors: Handle undefined cells, invalid formulas, and circular references.\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajmalpankaj786%2Fprospecta_assignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajmalpankaj786%2Fprospecta_assignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajmalpankaj786%2Fprospecta_assignment/lists"}