{"id":26353413,"url":"https://github.com/duartemcsilva/post-transaction-lambda","last_synced_at":"2025-03-16T11:18:14.000Z","repository":{"id":215494626,"uuid":"738930712","full_name":"DuarteMCSilva/POST-transaction-lambda","owner":"DuarteMCSilva","description":"This lambda receives transactions and stores the updated state in the database.","archived":false,"fork":false,"pushed_at":"2024-01-24T17:09:22.000Z","size":210,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T11:18:11.331Z","etag":null,"topics":["aws-dynamodb","aws-lambda","javascript"],"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/DuarteMCSilva.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}},"created_at":"2024-01-04T11:30:52.000Z","updated_at":"2025-02-21T14:15:11.000Z","dependencies_parsed_at":"2024-01-15T03:18:21.859Z","dependency_job_id":"9d36a575-fd01-4b85-8f8f-5cb1024f166d","html_url":"https://github.com/DuarteMCSilva/POST-transaction-lambda","commit_stats":null,"previous_names":["duartemcsilva/stock-track-app","duartemcsilva/post-transaction-lambda"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DuarteMCSilva%2FPOST-transaction-lambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DuarteMCSilva%2FPOST-transaction-lambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DuarteMCSilva%2FPOST-transaction-lambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DuarteMCSilva%2FPOST-transaction-lambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DuarteMCSilva","download_url":"https://codeload.github.com/DuarteMCSilva/POST-transaction-lambda/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243858046,"owners_count":20359269,"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":["aws-dynamodb","aws-lambda","javascript"],"created_at":"2025-03-16T11:18:12.663Z","updated_at":"2025-03-16T11:18:13.986Z","avatar_url":"https://github.com/DuarteMCSilva.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to Track App!\r\n\r\nThe track app tracks data and is a way to fullfill a personal need, while applying the professional skills that I'm interested in.\r\n\r\n## Users\r\n\r\n\r\n\r\n\r\n## Features\r\n\r\n1. Portfolio\r\n\r\n    i. Current State\r\n\r\n    ii. Evolution\r\n\r\n2. Watchlist\r\n\r\n3. Price Calculator\r\n\r\n4. End-position decision Feedback\r\n\r\n5. Authentication\r\n\r\n## Workflows\r\n\r\n1. GET Portfolio\r\n\r\n2. POST transaction \r\n    ![new transaction](relative%20path/../images/new_transaction.png)\r\n\r\n## External API\r\n\r\n1. Google Finance\r\n\r\n    i. curr_price\r\n\r\n    ii. price vs. time\r\n\r\n## Persistence\r\n\r\n### Tables:\r\n1. Portfolio: \r\nTICKER | Quantity | BuyPrice | HistDividend \r\n2. Transactions\r\nDATE | orderType | TICKER | Quantity | VALUE | FEES\r\n\r\n### Testing Execution Example\r\n\r\n```\r\n{\r\n    \"body\": {\r\n        \"item\": {\r\n        \"date\": \"20180118\",\r\n        \"ticker\": \"BABA\",\r\n        \"price\": 75.43,\r\n        \"quantity\": 32,\r\n        \"fees\": 3.42,\r\n        \"dividend\": 0,\r\n        \"orderType\": \"BUY\"\r\n        }\r\n    }\r\n}\r\n```\r\n\r\n\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduartemcsilva%2Fpost-transaction-lambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduartemcsilva%2Fpost-transaction-lambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduartemcsilva%2Fpost-transaction-lambda/lists"}