{"id":16485677,"url":"https://github.com/estrada9166/speedbe","last_synced_at":"2025-08-30T14:08:20.388Z","repository":{"id":57367269,"uuid":"115573467","full_name":"estrada9166/speedbe","owner":"estrada9166","description":"backend generator using Node.js and Express","archived":false,"fork":false,"pushed_at":"2018-01-20T06:06:32.000Z","size":95,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-31T06:03:04.800Z","etag":null,"topics":["express-generator"],"latest_commit_sha":null,"homepage":"","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/estrada9166.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":"2017-12-28T01:52:06.000Z","updated_at":"2024-08-12T11:43:22.000Z","dependencies_parsed_at":"2022-08-23T20:11:07.224Z","dependency_job_id":null,"html_url":"https://github.com/estrada9166/speedbe","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/estrada9166/speedbe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estrada9166%2Fspeedbe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estrada9166%2Fspeedbe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estrada9166%2Fspeedbe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estrada9166%2Fspeedbe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/estrada9166","download_url":"https://codeload.github.com/estrada9166/speedbe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estrada9166%2Fspeedbe/sbom","scorecard":{"id":383341,"data":{"date":"2025-08-11","repo":{"name":"github.com/estrada9166/speedbe","commit":"7ff3a0f07aa1a20d00b7ee3e7e0842d591f13cf6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.6,"checks":[{"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":"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 1/18 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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: npmCommand not pinned by hash: scripts/createPackage.sh:3","Warn: npmCommand not pinned by hash: scripts/createPackage.sh:4","Warn: npmCommand not pinned by hash: scripts/installAWSSDK.sh:2","Warn: npmCommand not pinned by hash: scripts/installDotenv.sh:2","Warn: npmCommand not pinned by hash: scripts/installJWT.sh:2","Warn: npmCommand not pinned by hash: scripts/installMongoose.sh:2","Warn: npmCommand not pinned by hash: scripts/installNow.sh:2","Info:   0 out of   7 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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: 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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"24 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-4hpf-3wq7-5rpr","Warn: Project is vulnerable to: GHSA-f522-ffg8-j8r6","Warn: Project is vulnerable to: GHSA-2pr6-76vf-7546","Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx","Warn: Project is vulnerable to: GHSA-282f-qqgm-c34q","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-jf85-cpcp-j695","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-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"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-18T15:59:22.451Z","repository_id":57367269,"created_at":"2025-08-18T15:59:22.451Z","updated_at":"2025-08-18T15:59:22.451Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272858542,"owners_count":25005092,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["express-generator"],"created_at":"2024-10-11T13:26:41.399Z","updated_at":"2025-08-30T14:08:20.367Z","avatar_url":"https://github.com/estrada9166.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Speedbe\n\nSpeedbe will help you to create a backend with `Node.js` and express.\n\n## Install\n```shell\n$ npm install -g speedbe\n```\n## use\n```shell\n$ speedbe\n```\nIt should make multiples question, like:\n  + Name of the project (It will create a folder in the root that you call `speedbe`)\n  + Has authentication (It will create a middleware that validate if the token set on the headers is valid with JWT)\n  + Has .ENV variables (In case that the response of the previous question is `No`, it will ask to create a global file with the .env variables)\n  + Want to upload files (It will create a file and an endpoint to upload files to AWS S3, you must update the variables)\n\n## Project Structure\n```shell\n├── index.js\n├── node_modules\n├── package-lock.json\n├── package.json\n├── routes\n├── models\n├── variables.env\n├── variables.env.example\n└── variables.env.now\n```\n`variables.env.example` is the file that serves as example for other people contributing to your project, it contains all the needed *env* variables with dummy values to be replaced after your project gets cloned (`variables.env` does not get tracked by git).\n\n## Before running this project (after cloned from *github*)\n* change the name of `variables.env.example` to `variables.env`\n* inside `variables.env` replace the value of the variables with your values\n\n## How to Run this project\n```shell\n$ node index\n```\n\n## Mongoose\nYou can choose if you want to use [mongoose](http://mongoosejs.com/) in your project.\n\nIf you choose to use it, we recomend you to create an account on [mlab](https://mlab.com/), it is free; after that create a new database. To use it your project, you should paste the MongoDB URI (the one that you find after creating the database) in the files `variables.env` and `variables.env.now`\n\nThe models have others packages like:\n+ validator: in this case we use it to validate if it is a valid email. You can find the package [here](https://www.npmjs.com/package/validator)\n+ mongoose-mongodb-errors: it is a plugin to transform mongodb like errors (E.G. \"11000 - duplicate key\") into Mongoose ValidationError instances. You can find the package [here](https://www.npmjs.com/package/mongoose-mongodb-errors)\n+ mongoose-cipher: it is a plugin to encrypt the fields that you select before saving them on the database. You can find the package [here](https://www.npmjs.com/package/mongoose-cipher)\n\nAlmost all the fields of the database are using `trim`, it means that if a user is trying to save strings like `\"  hello\"`, or `\"hello  \"`, or `\"  hello  \"`, would end up being saved as `\"hello\"`.\n\n## Standard\nThe project use standard, to run it simple run your project folder:\n```bash\n$ npm run standard\n```\nAnd if you want to fix all the issues automatically with the help of standard, run:\n```bash\n$ npm run standard-fix\n```\n\n## JWT\nTo use it you should create a JWT and set it in each request using the headers. It is with Bearer authentication.\n\nTo create a new token, you can make a post to the endpoint toke, with the data you want to pass to it:\n```\nPOST /token\n```\nThe response should be something like:\n```\n{\n    \"success\": true,\n    \"type\": \"Bearer\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ\"\n}\n```\nTo learn more about JWT click [here](https://jwt.io/)\n\n## Endpoints\n### With Mongoose\nRequest      | Response \n-------------|----------------------------\nGET /example | This will return the example with identificator `A1`\nPOST /example| This will create a new example\nPUT /example | This will update the name of the example with identificator `A1`\nDELETE /example | This will delete the user with identificator `A1`\n\n### With out Mongoose\nRequest      | Response \n-------------|----------------------------\nGET /example | This is a /GET example\nPOST /example| This is a /POST example, you just post ${test}\nPUT /example | This is a /PUT example, you just put ${test}\nDELETE /example | This is a /DELETE example, you just deleted ${test}\n## Deploy with Now\nSimple run:\n```bash\n$ npm run deploy\n```\nIn case this is your first time using [now](https://zeit.co/now), follow the steps and that's all.\n\nThe file `variables.env.now` is used to set the environment variables in your deploy, the file is not uploaded to the server, `now` read it and set the variables on a secure environment for you.\n## License\n### The MIT License\n\nCopyright (c) 2017 Alejandro Estrada\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festrada9166%2Fspeedbe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Festrada9166%2Fspeedbe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festrada9166%2Fspeedbe/lists"}