{"id":19025301,"url":"https://github.com/cesarherr/dca_simulator","last_synced_at":"2026-05-07T02:31:17.766Z","repository":{"id":213307658,"uuid":"733542149","full_name":"CesarHerr/dca_simulator","owner":"CesarHerr","description":"This is a DCA simulator, used to know the historical performance that would have been obtained by purchasing cryptocurrencies","archived":false,"fork":false,"pushed_at":"2024-01-06T00:26:49.000Z","size":448,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-02-21T19:14:20.528Z","etag":null,"topics":["reactjs","redux-toolkit","tailwindcss","vite"],"latest_commit_sha":null,"homepage":"https://cesarherr.github.io/dca_simulator/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CesarHerr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-12-19T15:02:59.000Z","updated_at":"2024-01-14T15:01:58.000Z","dependencies_parsed_at":"2023-12-19T18:30:12.363Z","dependency_job_id":"6ad4385e-ff2b-4177-96a4-0ac6aa474b37","html_url":"https://github.com/CesarHerr/dca_simulator","commit_stats":null,"previous_names":["cesarherr/dca_simulator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CesarHerr/dca_simulator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CesarHerr%2Fdca_simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CesarHerr%2Fdca_simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CesarHerr%2Fdca_simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CesarHerr%2Fdca_simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CesarHerr","download_url":"https://codeload.github.com/CesarHerr/dca_simulator/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CesarHerr%2Fdca_simulator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32720109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["reactjs","redux-toolkit","tailwindcss","vite"],"created_at":"2024-11-08T20:43:09.981Z","updated_at":"2026-05-07T02:31:17.749Z","avatar_url":"https://github.com/CesarHerr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eBuda DCA Simulator\u003c/h1\u003e\n\n\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\n# 📗 Table of Contents\n\n- [📗 Table of Contents](#-table-of-contents)\n- [📖 Buda dca Simulator](#Buda-DCA-Simulator)\n  - [🛠 Built With ](#-built-with-)\n    - [Tech Stack ](#tech-stack-)\n    - [Key Features ](#key-features-)\n  - [🚀 Live Demo ](#-live-demo-)\n  - [💻 Getting Started ](#-getting-started-)\n    - [Prerequisites](#prerequisites)\n    - [Setup](#setup)\n    - [Install](#install)\n    - [Usage](#usage)\n    - [Run tests](#run-tests)\n    - [Deployment](#deployment)\n  - [👥 Author ](#-author-)\n  - [🔭 Future Features ](#-future-features-)\n  - [Walkthrough ](#walkthrough-)\n  - [🤝 Contributing ](#-contributing-)\n  - [⭐️ Show your support ](#️-show-your-support-)\n  - [🙏 Acknowledgments ](#-acknowledgments-)\n  - [📝 License ](#-license-)\n\n\u003c!-- PROJECT DESCRIPTION --\u003e\n\n# 📖 Buda DCA Simulator\u003ca name=\"about-project\"\u003e\u003c/a\u003e\n\nThe Buda-DCA-Simulator is a Web application for checking the Dollar-Cost Averaging (in this case CLP), this is a time-tested investment strategy where an investor divides up the total amount to be invested across periodic purchases of a target asset to reduce the impact of volatility on the overall purchase\n\n\n## 🛠 Built With \u003ca name=\"built-with\"\u003e\u003c/a\u003e\n\n### Tech Stack \u003ca name=\"tech-stack\"\u003e\u003c/a\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eReact-vite\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://vitejs.dev/\"\u003eReact\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eRedux-toolkit\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://redux-toolkit.js.org/\"\u003eRedux-toolkit\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eTailwind\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"Tailwind\"\u003eTailwind\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eVitest\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://vitest.dev/\"\u003eVitest\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eReact testing library\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://testing-library.com/\"\u003eReact testing library\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\n\n\n\n\n### Key Features \u003ca name=\"key-features\"\u003e\u003c/a\u003e\n\n- **Created using React**\n- **Manage states with redux**\n- **Gitflow**\n- **Used Chartjs to see data fluctuation**\n- **Get data from Buda API**\n- **Created a Docker image**\n- **Deployed on GitHub pages**\n\n\u003c!-- LIVE DEMO --\u003e\n\n\n[BupaApp.webm](https://github.com/CesarHerr/dca_simulator/assets/111262493/4f07992e-7bfe-45d8-aa0a-a441d6e06a40)\n\n\n\n\n\n## 🚀 Live Demo \u003ca name=\"live-demo\"\u003e\u003c/a\u003e\n\n### ⚠️   Important ⚠️\n\n- If you are unable to see the data in the app, it might be due to a CORS (Cross-Origin Resource Sharing) problem. You will need to install a plugin on your browser. For Chrome, use this [extension](https://chromewebstore.google.com/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf)\n\n\u003e You can see the live demo of this project: [click here](https://cesarherr.github.io/dca_simulator/)\n\n\n\u003e You can find the Docker image 👉 : [click here](https://hub.docker.com/repository/docker/cesarherr/dca_simulator/general)\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- GETTING STARTED --\u003e\n\n## 💻 Getting Started \u003ca name=\"getting-started\"\u003e\u003c/a\u003e\n\nTo get a local copy up and running, follow these steps.\n\n### Prerequisites\n\n- A web browser\n- A code editor\n- A terminal\n\n### Setup\n\nClone this repository to your desired folder:\n\n```sh\n  git clone https://github.com/CesarHerr/dca_simulator.git\n```\n\n### Install\n\nInstall this project with:\n\n```sh\n  cd dca_simulator\n  npm install\n```\n\n### Usage\n\nTo run the project, execute the following command:\n\n```sh\n  npm run dev\n```\n\n### Run tests\n\nTo run tests, run the following command:\n\n\n```sh\n  npm test\n```\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- AUTHORS --\u003e\n\n\n👤 César Herrera\n\n- GitHub: [@cesarherr](https://github.com/Cesarherr)\n- Twitter: [@cesarherr2](https://twitter.com/cesarherr2)\n- LinkedIn: [cesarherr](https://www.linkedin.com/in/cesarherr/)\n\n## 🔭 Future Features \u003ca name=\"future-features\"\u003e\u003c/a\u003e\n\n- Add More tests\n- Upgrade styles\n- Accessibility improvements\n- Dark mode\n\n\n# Walkthrough \u003ca name=\"walkthrough\"\u003e\u003c/a\u003e\n\nThe project was developed follow the following requirements:\n\n```sh\n\n Requerimientos\n\n\n\n1. Necesitamos calcular la ganancia mes a mes para un usuario que compre el primero de cada mes\n   a las 12:00 UTC, los últimos 12 meses (desde la fecha en que se ingresa a la página)\n\n  - Aquí al momento de ingresar a la página se carga el cálculo de los últimos 12 meses, Tomando\n   los primeros de cada mes a las 12:00PC UTC,  con una inversión de $100,000 CLP, estos datos son\n   lo primero que ve el usuario.\n\n\n2. El usuario debe ser capaz de indicar el monto en CLP que invertirá cada mes\n\n  - Input creado para ingresar Monto y fecha, la fecha a cargar sigue siendo los días 1 de cada mes\n    a las 12:00PM UTC, solo puede indicar mes y año. \n\n\n3. Debe existir una forma gráfica de ver la evolución de la inversión (en CLP)\n\n  - Creado gráfico con Chartjs library. \n\n\n4. Debe existir una tabla o estructura similar donde se muestre la variación en CLP\n   y % de la inversión.\n\n  - Tabla completa creada con datos obtenidos de la API de Buda.com, se actualiza cada\n   vez que se ingresan nuevos datos. \n\n\n```\n\n\n\n```sh\n# Deseables\n\n1. Que la tarea funcione en un ambiente contenerizado (Docker o similar)\n\n  - Proyecto contenerizado en Docker.\n\n\n2. Que sea posible indicar la fecha de inicio y término de la simulación.\n\n  - Usuario puede ingresar fecha de inicio y término, pero se mantiene el concepto\n   de cálculo para el día 1 de cada mes a las 12:00 UTC.\n\n\n3. Que el diseño funcione tanto en móvil como desktop.\n\n  - Diseño responsivo creado.\n\n\n4.Que podamos ver tu proyecto funcionando.\n\n  - Proyecto desplegado github pages.\n\n```\n\n\u003c!-- CONTRIBUTING --\u003e\n\n## 🤝 Contributing \u003ca name=\"contributing\"\u003e\u003c/a\u003e\n\nContributions, issues, and feature requests are welcome!\n\nFeel free to check the [issues page](https://github.com/CesarHerr/dca_simulator/issues).\n\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- SUPPORT --\u003e\n\n## ⭐️ Show your support \u003ca name=\"support\"\u003e\u003c/a\u003e\n\nIf you like this project, give it a ⭐️!\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 🙏 Acknowledgments \u003ca name=\"acknowledgements\"\u003e\u003c/a\u003e\n\nI would like to thank Buda.com for giving me the opportunity to take on this challenge and for taking the time to evaluate it 🌟\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- LICENSE --\u003e\n\n## 📝 License \u003ca name=\"license\"\u003e\u003c/a\u003e\n\nThis project is [MIT](./LICENSE) licensed.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesarherr%2Fdca_simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcesarherr%2Fdca_simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesarherr%2Fdca_simulator/lists"}