{"id":23514739,"url":"https://github.com/niweera/node-exp-pp-template","last_synced_at":"2026-05-08T05:38:22.066Z","repository":{"id":99711719,"uuid":"210516226","full_name":"Niweera/node-exp-pp-template","owner":"Niweera","description":"Template to create basic NodeJS, ExpressJS API with PassportJS authentication.","archived":false,"fork":false,"pushed_at":"2019-09-24T06:17:44.000Z","size":88,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T21:43:28.482Z","etag":null,"topics":["expressjs","google-app-engine","nodejs","passportjs","travis-ci"],"latest_commit_sha":null,"homepage":null,"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/Niweera.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":"2019-09-24T05:06:02.000Z","updated_at":"2021-04-05T04:47:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7bf9bad-9c95-4aeb-9183-57f2a0be18e3","html_url":"https://github.com/Niweera/node-exp-pp-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Niweera%2Fnode-exp-pp-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Niweera%2Fnode-exp-pp-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Niweera%2Fnode-exp-pp-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Niweera%2Fnode-exp-pp-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Niweera","download_url":"https://codeload.github.com/Niweera/node-exp-pp-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254029009,"owners_count":22002284,"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":["expressjs","google-app-engine","nodejs","passportjs","travis-ci"],"created_at":"2024-12-25T14:10:17.447Z","updated_at":"2026-05-08T05:38:17.024Z","avatar_url":"https://github.com/Niweera.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quick template for NodeJS, ExpressJS API with PassportJS authentication.\r\n\r\n## How to setup\r\n\r\n1. First apply settings for `/config/keys_dev.example.js` and rename it to `/config/keys_dev.js`. (This key file is used for the development environments only. Do not commit that file to Public repos.)\r\n2. Define models/schemas in `/models/`\r\n3. Define routes in `/routes/api/`\r\n4. Define `/server.js` file\r\n5. Change `/package.json` file as per requirements\r\n6. If you want to host the API in Google-App-Engine, create a project in GAE and follow the [Official Travis-CI Documentation](https://docs.travis-ci.com/user/deployment/google-app-engine/)\r\n7. To specify the env variables in Travis-CI follow the [Official Travis-CI Documentation](https://docs.travis-ci.com/user/environment-variables/)\r\n8. To specify the Google-App-Engine `/app.yaml` file follow the [Official Google App Engine Documentation](https://cloud.google.com/appengine/docs/standard/nodejs/config/appref)\r\n9. To specify the Google-App-Engine `/dispatch.yaml` file follow the [Official Google App Engine Documentation](https://cloud.google.com/appengine/docs/standard/nodejs/reference/dispatch-yaml)\r\n10. Add tests for the API, using [`Mocha`](https://mochajs.org/) and [`Chai`](https://www.chaijs.com/)\r\n11. Done. Test your API in local environment by [http://localhost:PORT](http://localhost:PORT)\r\n12. Publish your repo to GitHub and Travis-CI will do the rest... [\"rest\" means that it will deploy the `NodeJS` app to Google App Engine.]\r\n\r\n## Meta\r\n\r\nNipuna Weerasekara – [@Niweera](https://twitter.com/Niweera) – w.nipuna@gmail.com\r\n\r\nDistributed under the MIT license. See `LICENSE` for more information.\r\n\r\n## Contributing\r\n\r\n1. Fork it (\u003chttps://github.com/Niweera/node-exp-pp-template/fork\u003e)\r\n2. Create your feature branch (`git checkout -b feature/fooBar`)\r\n3. Commit your changes (`git commit -am 'Add some fooBar'`)\r\n4. Push to the branch (`git push origin feature/fooBar`)\r\n5. Create a new Pull Request\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniweera%2Fnode-exp-pp-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniweera%2Fnode-exp-pp-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniweera%2Fnode-exp-pp-template/lists"}