{"id":17473896,"url":"https://github.com/gocanto/csv-files-reader","last_synced_at":"2026-02-07T10:30:57.581Z","repository":{"id":229764756,"uuid":"774220792","full_name":"gocanto/csv-files-reader","owner":"gocanto","description":"CSV File Reader.","archived":false,"fork":false,"pushed_at":"2024-04-22T02:21:40.000Z","size":43,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T16:46:44.410Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/gocanto.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":"2024-03-19T06:49:27.000Z","updated_at":"2024-04-22T02:21:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"be72dd00-3274-40db-b571-56673875621a","html_url":"https://github.com/gocanto/csv-files-reader","commit_stats":null,"previous_names":["gocanto/csv-files-reader"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gocanto/csv-files-reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocanto%2Fcsv-files-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocanto%2Fcsv-files-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocanto%2Fcsv-files-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocanto%2Fcsv-files-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gocanto","download_url":"https://codeload.github.com/gocanto/csv-files-reader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocanto%2Fcsv-files-reader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29192602,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"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":[],"created_at":"2024-10-18T18:07:36.950Z","updated_at":"2026-02-07T10:30:57.561Z","avatar_url":"https://github.com/gocanto.png","language":"Go","readme":"### About it\n\nThe given API allows users to send bulk data to your\nservers using CSV files. This opens the door to various integrations\nwhere the information you need to handle in your app is given by\n3rd party services.\n\n### Installation\n\nThe application has been containerised using [Docker](https://www.docker.com/). Thus, you will need to\nhave installed in your machine before running this repository code upon tests.\n\nThen you have installed docker in your local machine, you might want to also install\nthe [Make command line](https://makefiletutorial.com/) to use the handy commands contained within\nthis repository.\n\nAfter you have these two (2) installed in your local machine, you can go ahead and clone\nthis repository like so `git@github.com:gocanto/csv-files-reader.git` within your\ndesire directory in your local machine.\n\nOnce you have cloned the repository, position yourself in the clone directory from within\nyour command line a type the following `cp .env.example .env`. This will make sure your\nsystem has the proper env vars needed to run the app locally.\n\n\u003e Notes:\n\u003e - Make sure you have git installed before cloning this repository.\n\u003e - We have shipped a [postman collection](https://github.com/gocanto/ohlc-price-data/tree/main/__fixtures__) for you to have at hand when testing the app.\n\u003e - You will need some sort of MySQL client if you would like to inspect the database.\n\n### What endpoints does this application contain?\n\nWe only have two (2) endpoints at the moment. Once to upload any required\nCSV file (more options in the future) and one to query the data uploaded to the server.\n\n```bash\n[POST] http://localhost:8080/upload\n[GET] http://localhost:8080/query\n```\n\nPlease note that the above URLs and ports depend 100% on your local/server configuration.\n\n### Setting up the environment.\n\nIf you were curious enough and decided to install the Makefile tools, you can run\nthe given command from within this repository root directory to see the options we have for you.\n\n```bash\nmake help\n\n----------------------------------------------\n               Api CLI Help\n----------------------------------------------\n\nbuild .................................. Start the app container.\nflush .................................. Remove all instances of the application.\nstatus ................................. Display the status of all containers.\nstop ................................... Destroy the application container.\n\n----------------------------------------------\n```\n\nOtherwise, you can always visit this [file](https://github.com/gocanto/ohlc-price-data/blob/main/Makefile#L21-L41) to spin the environment up if this\nhappens to be your style.\n\n### How to use it\n\nYou can either use the available PostMan collections within this repository. Otherwise, you\nmight want to try using your terminal like so:\n\n***Upload data***\n```bash\ncurl --location 'http://localhost:8080/upload' \\\n--header 'Content-Type: multipart/form-data' \\\n--form 'file=@\"/Users/gus/Sites/ohlc-price-data/__fixtures__/payload.csv\"'\n```\n\u003e Note that the given testing file needs to be mapped to your local computer in order\n\u003e for the test to work.\n\n***Query data***\n```bash\ncurl --location --request GET 'http://127.0.0.1:8080/query?limit=1\u0026offset=3' \\\n--header 'Content-Type: application/json' \\\n--data '{\n    \"symbol\": \"BTCUSDT\",\n    \"unix\": \"\",\n    \"foo\": 1\n}'\n```\n\u003e Please do note that the above filter is invalid on purpose for you to test\n\u003e the filtering ability.\n\n### License\n\nPlease see the [license file](https://github.com/gocanto/ohlc-price-data/blob/main/LICENSE) for more information.\n\n## How can I thank you?\n\n- :arrow_up: Follow me on [Twitter](https://twitter.com/gocanto).\n- :star: Star the repository.\n- :handshake: Open a pull request to fix/improve the codebase.\n- :writing_hand: Open a pull request to improve the documentation.\n- :email: Let's connect in [LinkedIn](https://www.linkedin.com/in/gocanto/).\n\n\u003e Thank you for reading this far. :blush:\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgocanto%2Fcsv-files-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgocanto%2Fcsv-files-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgocanto%2Fcsv-files-reader/lists"}