{"id":38593586,"url":"https://github.com/intersective/file-api","last_synced_at":"2026-01-17T08:25:58.351Z","repository":{"id":86064954,"uuid":"523594401","full_name":"intersective/file-api","owner":"intersective","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-20T03:56:48.000Z","size":10361,"stargazers_count":0,"open_issues_count":19,"forks_count":0,"subscribers_count":5,"default_branch":"trunk","last_synced_at":"2024-05-20T04:40:57.243Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/intersective.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-11T05:16:40.000Z","updated_at":"2024-05-20T03:56:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e869873-8d07-4997-931a-929bb0cb349e","html_url":"https://github.com/intersective/file-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/intersective/file-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intersective%2Ffile-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intersective%2Ffile-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intersective%2Ffile-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intersective%2Ffile-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intersective","download_url":"https://codeload.github.com/intersective/file-api/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intersective%2Ffile-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28504364,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: 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":"2026-01-17T08:25:58.259Z","updated_at":"2026-01-17T08:25:58.340Z","avatar_url":"https://github.com/intersective.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File-Api\n\nThis file api repo is dedicated for all files related services to handle.\n\n\n\n## How to use\n\n\n## Development\n\n### Prerequisite\n* Practera CORE docker up\n\n### Installation\n1. `npm install`\n\n### Start lambda function on local\n1. Create `.env` file and modify or add parameters if needed `cp env.example .env`\n1. Run `npm run dev` to start a serverless lambda funtion on local\n\n### Trigger lambda function\n1. Open another terminal window, under the same directory, run `node trigger.js` to trigger the lambda function\n\n## Testing\n\n\n\n## Unit Test\n\n\n## Logging\n- We use [DAZN Lambda Powertools](https://github.com/getndazn/dazn-lambda-powertools) as the error logging tool.\n- Environment variable `LOG_LEVEL` has 4 values:\n - `DEBUG` - Display all logs\n - `INFO` - Display `Log.info()` logs and above\n - `WARN` - Display `Log.warn()` logs and above\n - `ERROR` - Display `Log.error()` only\n- Environment variable `SAMPLE_DEBUG_LOG_RATE` controls the sampling rate of debug logs\n - By default it is 0.01, that means we will log debug logs for 1% of the requests\n - If we wanna enable debug logs for all services that is related to the current service, we can change it to 1. **Note: Remember to change it back to 0.01 after debugging, as this will increase the AWS cost**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintersective%2Ffile-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintersective%2Ffile-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintersective%2Ffile-api/lists"}