{"id":22782416,"url":"https://github.com/kdhttps/node-basic","last_synced_at":"2026-04-04T21:32:55.123Z","repository":{"id":102317578,"uuid":"132796920","full_name":"kdhttps/node-basic","owner":"kdhttps","description":"Basic Node JS Application + Mongo DB + Express + JWT :shaved_ice: :baby_bottle:","archived":false,"fork":false,"pushed_at":"2020-08-03T14:21:38.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-03T16:21:50.095Z","etag":null,"topics":["boilerplate","boilerplate-node","expressjs","jwt-authentication","mongodb","nodejs"],"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/kdhttps.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":"2018-05-09T18:20:37.000Z","updated_at":"2020-08-03T14:21:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"c3222358-d80a-4116-9704-9fe08bd4d15c","html_url":"https://github.com/kdhttps/node-basic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kdhttps/node-basic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdhttps%2Fnode-basic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdhttps%2Fnode-basic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdhttps%2Fnode-basic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdhttps%2Fnode-basic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kdhttps","download_url":"https://codeload.github.com/kdhttps/node-basic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdhttps%2Fnode-basic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31415110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"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":["boilerplate","boilerplate-node","expressjs","jwt-authentication","mongodb","nodejs"],"created_at":"2024-12-11T21:11:47.912Z","updated_at":"2026-04-04T21:32:55.045Z","avatar_url":"https://github.com/kdhttps.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node JS API\nSimple node js api project with jwt authentication with mongodb.\n\n## Instruction\n\nThis is assumed that npm, node and mongodb are installed on the machine.\n\n * node js \u003e= 10.x.x\n * npm \u003e= 6.x.x\n * mongodb \u003e= 4.2.x\n\nFor installing node and npm please refer [here](https://nodejs.org/en/download/package-manager/).\nFor installing mongodb [here](https://docs.mongodb.com/manual/installation/).\n\n\u003e Note: I recommended to use npm@5, Because it provides `npm audit` facility to check vulnerability in your dependencies.\n \n\n## Installation and Run\n\n 1. Clone the repository and move to cloned directory and hit:\n\n    ```npm install```\n\n    This will install all the dependencies for the project.\n\n 2. To start the project hit:  \n\n    ```\n    node index.route.js\n    ```\n    or\n    ```\n    npm start\n    ```\n\n    This will start the project on the port number as you specify in `.env` file. Default is `4040`, so you API is now on [https://localhost:4040](http://localhost:4040) url.\n\n\n## Configuration\n\n1. Configuration application using `.env` file by setting environment variable.\n\n2. Disable JWT authentication\n   \n    By commenting following line you can disabled JWT verification in index.route.js.\n\n    ```\n    // app.use(expressJwt({secret: process.env.APP_SECRET}).unless(filter));\n    ```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdhttps%2Fnode-basic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkdhttps%2Fnode-basic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdhttps%2Fnode-basic/lists"}