{"id":44774410,"url":"https://github.com/sahithvibudhi/gratis","last_synced_at":"2026-02-16T06:14:04.825Z","repository":{"id":33990861,"uuid":"158950519","full_name":"sahithvibudhi/gratis","owner":"sahithvibudhi","description":"An open-source, easy-to-customize back-end service right out of the box.","archived":false,"fork":false,"pushed_at":"2022-12-09T07:38:40.000Z","size":1665,"stargazers_count":8,"open_issues_count":4,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-12-20T15:56:41.157Z","etag":null,"topics":["headless","node-js","rest-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sahithvibudhi.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}},"created_at":"2018-11-24T15:45:23.000Z","updated_at":"2023-06-29T04:54:57.000Z","dependencies_parsed_at":"2023-01-15T03:50:54.156Z","dependency_job_id":null,"html_url":"https://github.com/sahithvibudhi/gratis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sahithvibudhi/gratis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahithvibudhi%2Fgratis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahithvibudhi%2Fgratis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahithvibudhi%2Fgratis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahithvibudhi%2Fgratis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sahithvibudhi","download_url":"https://codeload.github.com/sahithvibudhi/gratis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahithvibudhi%2Fgratis/sbom","scorecard":{"id":795354,"data":{"date":"2025-08-11","repo":{"name":"github.com/sahithvibudhi/gratis","commit":"5a48626358af105ee9afc2a2c53074611fa5400a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.6,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating node:10 to node:10@sha256:59531d2835edd5161c8f9512f9e095b1836f7a1fcb0ab73e005ec46047384911","Warn: npmCommand not pinned by hash: Dockerfile:12","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":0,"reason":"29 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-4jwp-vfvf-657p","Warn: Project is vulnerable to: GHSA-v8w9-2789-6hhr","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-mh5c-679w-hh4r","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-qhv9-728r-6jqg","Warn: Project is vulnerable to: GHSA-g7q5-pjjr-gqvp","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T08:47:26.786Z","repository_id":33990861,"created_at":"2025-08-23T08:47:26.786Z","updated_at":"2025-08-23T08:47:26.786Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29501719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T05:57:17.024Z","status":"ssl_error","status_checked_at":"2026-02-16T05:56:49.929Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["headless","node-js","rest-api"],"created_at":"2026-02-16T06:14:01.318Z","updated_at":"2026-02-16T06:14:04.817Z","avatar_url":"https://github.com/sahithvibudhi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gratis\nAn open-source, easy-to-customize back-end service right out of the box. Write your front-end let gratis handle the Back-end. ⚡\n\n![How to use](quick-start.gif)\n\n1. [Quick Start](#-quick-start)\n2. [ How to Use?](#-how-to-use)\n3. [How to Setup Project in your local environment?](#-how-to-setup-project-in-your-local-environment)\n\n# 🚀 Quick Start\n\n1. Install Gratis\n\n```\nnpm install -g gratis-server\n```\n\n2. Start server\n\n```\ngratis-server --port 9000 --dburl mongodb://localhost:32770 --log true\n```\n\nThat's it 💁‍♂️\n\n# 📖 How to Use?\n\n__To Insert Records:__\n\n```\ncurl --header \"Content-Type: application/json\" \\\n  --request POST \\\n  --data '{\"name\":\"t-series\",\"subscribers\":\"78,000,000\", \"region\":\"asia\"}' \\\n  http://localhost:3000/youtube/channels\n```\n\n---\n\n__To Fetch Records:__\n\n```\ncurl --request GET \\\n  http://localhost:3000/youtube/channels\n# returns max 20 records\n```\n\nQuerying data\n```\ncurl --request GET \\\n  http://localhost:3000/youtube/channels?region=asia\u0026sort=-subscribers\u0026limit=5\n```\n\n---\n\n__To Update Records:__\n```\ncurl --header \"Content-Type: application/json\" \\\n  --request POST \\\n  --data '{\"name\":\"t-series\",\"subscribers\":\"79,000,000\", \"region\":\"asia\"}' \\\n  http://localhost:3000/youtube/channels?name=t-series\n```\n\n---\n\n__To Delete Recrods:__\n```\ncurl --request DELETE \\\n  http://localhost:3000/youtube/channels?name=t-series\n```\n\n---\n\n## How to Setup Project in your local environment?\n```\ngit clone https://github.com/sahithvibudhi/gratis.git\ncd gratis\n\nnpm install\nnpm start\n\n# or\n\ndocker-compose up\n```\n\n\u003e NOTE: Gratis needs a MongoDB server to store the data 💾.\n\nTo run it on a specific port. use:\n```\nnode index.js --port 9000\n```\n\nTo pass the database connection URL. use:\n```\nnode index.js --port 9000 --dburl mongodb://localhost:32770 \n```\n\nTo enable logging, use:\n```\nnode index.js --port 9000 --dburl mongodb://localhost:32770 --log true\n```\n\nGratis comes with a GUI to create new apps, to enable, use:\n```\nnode index.js --dburl mongodb://localhost:32770 --log true --dashboard true\n```\n\n# TODO:\n- Adapter to use different Data Stores\n- Adapter to use different loggers\n- Make auth Optional\n\n---\n\n\u003ccenter\u003e Built with ❤️ for front-end Developers \u003c/center\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahithvibudhi%2Fgratis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsahithvibudhi%2Fgratis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahithvibudhi%2Fgratis/lists"}