{"id":15209075,"url":"https://github.com/fawwaz37/nodejs-restapi","last_synced_at":"2025-08-20T06:31:57.890Z","repository":{"id":38685484,"uuid":"393271066","full_name":"fawwaz37/nodejs-restapi","owner":"fawwaz37","description":"Simple Rest-API With Login System, Built using MongoDB, Express.js, and Node.js","archived":false,"fork":false,"pushed_at":"2022-01-26T14:58:53.000Z","size":2467,"stargazers_count":87,"open_issues_count":0,"forks_count":153,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-12-07T00:05:33.149Z","etag":null,"topics":["ejs","express","heroku","mongodb","nodejs","recaptcha-v2","rest-api"],"latest_commit_sha":null,"homepage":"https://zekais-restapi.herokuapp.com/","language":"JavaScript","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/fawwaz37.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":null,"security":null,"support":null}},"created_at":"2021-08-06T06:07:56.000Z","updated_at":"2024-12-03T16:13:49.000Z","dependencies_parsed_at":"2022-08-02T17:45:12.489Z","dependency_job_id":null,"html_url":"https://github.com/fawwaz37/nodejs-restapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fawwaz37%2Fnodejs-restapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fawwaz37%2Fnodejs-restapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fawwaz37%2Fnodejs-restapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fawwaz37%2Fnodejs-restapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fawwaz37","download_url":"https://codeload.github.com/fawwaz37/nodejs-restapi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230400606,"owners_count":18219830,"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","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":["ejs","express","heroku","mongodb","nodejs","recaptcha-v2","rest-api"],"created_at":"2024-09-28T07:21:10.372Z","updated_at":"2024-12-19T08:07:44.491Z","avatar_url":"https://github.com/fawwaz37.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Node JS Rest-API**\n\n\u003cimg src=\"https://i.postimg.cc/KjqrWcc2/zekais-api.png\" width=\"500\"\u003e\n\nSimple Rest-API With Login System, Built using MongoDB, Express.js, and Node.js\n\nDemo App : https://zekais-restapi.herokuapp.com/\n\nRest-Api : https://zekais-api.herokuapp.com/\n\n# Installation\n\nRequirements\n* [Node.js](https://nodejs.org/en/)\n* [Git](https://git-scm.com/downloads)\n* [VS Code](https://code.visualstudio.com/download) or Any Text Editor\n\n## Cloning this repo\n```cmd\n\u003e git clone https://github.com/fawwaz37/nodejs-restapi.git\n\u003e cd nodejs-restapi\n```\nUse `code .` to open file in VS Code\n```cmd\n\u003e code .\n```\n\n## Editing the file\nEdit the required value in folder `lib` file `settings.js`.\n\n```js\nmodule.exports = {\n    port: '5000',\n    limitCount: 0,\n    recaptcha_key_1: '',\n    recaptcha_key_2: '',\n    // ex Mongodb Atlas : mongodb+srv:/xxx\n    dbURI: ''\n};\n```\n\n`port`: PORT localhost.\n\n`recaptcha_key_1`: reCaptcha Key.\n\n`recaptcha_key_2`: reCaptcha Key.\n\n`dbURI`: Connection String MongoDb. \n\n## How to Get recaptcha_key\n\nContact Me ([WhatsApp](https://api.whatsapp.com/send/?phone=6287715579966\u0026text\u0026app_absent=0)) How to get Recaptcha Key\n\n## How to Get Mongodb URI\n1. Sign In [Mongodb](https://www.mongodb.com/)\n2. Create a Database.\n\u003cimg src=\"https://i.postimg.cc/R0D16X3C/1.png\" width=\"300\"\u003e\n\n3. Create Free Cluster.\n4. Choose Cloud Provider \u0026 Region, Create Cluster.\n5. Select `Connect`.\n6. Add a Connection IP Address.\n\u003cimg src=\"https://i.postimg.cc/gk1H2MZY/5-1.png\" width=\"500\"\u003e\n\n7. Create a Database User\n\u003cimg src=\"https://i.postimg.cc/T1zCLGPc/5-2.png\" width=\"500\"\u003e\n\n8. Connect Your Application\n9. Change `\u003cpassword\u003e` with Your Password Database User `step 7`\n\u003cimg src=\"https://i.postimg.cc/6pW4wgW2/db.png\" width=\"500\"\u003e\n10. Copy and Paste in `settings.js`\n\nContact Me ([WhatsApp](https://api.whatsapp.com/send/?phone=6287715579966\u0026text\u0026app_absent=0)) if You Have Problem with mongodb\n\n## Installing the dependencies\n```cmd\n\u003e npm install\n```\n\n## Running App\n```cmd\n\u003e npm start\n```\n\nThen Browse http://localhost:5000 . You will see the Homepage.\n\n\u003cimg src=\"https://i.postimg.cc/d1J2tZLF/landingpage.png\" width=\"500\"\u003e\n\n# Features\n\n|     API              |  EndPoint       |  Query           |\n| :--------------:     | :------------:  | :------------:   |\n| Youtube MP3          |  /ytmp3?url=    |  url \u0026 apikey    |\n| Youtube MP4          |  /ytmp4?url=    |  url \u0026 apikey    |\n| Youtube Play         |  /ytplay?query= |  query \u0026 apikey  |\n| Random Quotes        |  /quotes        |  apikey          |\n| Random Fakta         |  /fakta         |  apikey          |\n| Random Kata Bijak    |  /bijak         |  apikey          |\n| Random Kata Motivasi |  /motivasi      |  apikey          |\n| Random Ptl           |  /ptl           |  apikey          |\n| Cak Lontong          |  /caklontong    |  apikey          |\n\nIf you want to unlock Premium Feature, please contact me ([WhatsApp](https://api.whatsapp.com/send/?phone=6287715579966\u0026text\u0026app_absent=0))\n\n|     Premium               |  Availability  |\n| :--------------:          | :------------: |\n| Premium User              |   ✔️           |\n| Expired Premium User      |   ✔️           |\n| Added Premium Apikey      |   ✔️           |\n| Delete Premium Apikey     |   ✔️           |\n| Limit Apikey              |   ✔️           |\n| Custom Limit Apikey       |   ✔️           |\n| Custom Apikey             |   ✔️           |\n| Reset Manual All Limit    |   ✔️           |\n| Reset One Limit Apikey    |   ✔️           |\n| Photooxy                  |   ✔️           |\n| Request (Total, Today)    |   ✔️           |\n| Visitor, Total User       |   ✔️           |\n| Pricing Section           |   ✔️           |\n\n# Deploy Heroku\n\nGo to [Heroku](https://heroku.com) and Login\n\nCreate New App ( App Name For Example : abcd-api)\n\n\u003cimg src=\"https://i.postimg.cc/Z5T8Btw2/newapp.png\" width=\"300\"\u003e\n\nInstall [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli)\n\nOpen `CMD` and Login Heroku\n\n```cmd\n\u003e heroku login\n```\n\nInitialize a git repository in a new or existing directory\n\n```cmd\n\u003e cd nodejs-restapi\n\u003e git init\n```\n\nRemote Your App, Use `heroku git:remote -a app-name`\n\n```cmd\n\u003e heroku git:remote -a abcd-api\n```\n\nCommit your code to the repository and deploy it to Heroku using Git.\n\n```cmd\n\u003e git add .\n\u003e git commit -am \"make it better\"\n\u003e git push heroku master\n```\n\nLog Success\n\n\u003cimg src=\"https://i.postimg.cc/j5bzy0NP/deploy.png\" width=\"300\"\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffawwaz37%2Fnodejs-restapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffawwaz37%2Fnodejs-restapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffawwaz37%2Fnodejs-restapi/lists"}