{"id":21697344,"url":"https://github.com/jeescu/express-rest-api","last_synced_at":"2025-04-12T12:20:46.295Z","repository":{"id":84894757,"uuid":"75691644","full_name":"jeescu/express-rest-api","owner":"jeescu","description":":rocket: Express RESTful API starter","archived":false,"fork":false,"pushed_at":"2017-05-24T12:43:24.000Z","size":42,"stargazers_count":29,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T07:03:33.065Z","etag":null,"topics":["api","docker","es6","express","jwt","mongodb","mongoose","nodejs","passport","rest","restful","swagger","swagger-ui"],"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/jeescu.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":"2016-12-06T03:38:59.000Z","updated_at":"2023-06-21T23:43:56.000Z","dependencies_parsed_at":"2023-03-09T00:45:45.998Z","dependency_job_id":null,"html_url":"https://github.com/jeescu/express-rest-api","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/jeescu%2Fexpress-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeescu%2Fexpress-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeescu%2Fexpress-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeescu%2Fexpress-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeescu","download_url":"https://codeload.github.com/jeescu/express-rest-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565179,"owners_count":21125435,"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":["api","docker","es6","express","jwt","mongodb","mongoose","nodejs","passport","rest","restful","swagger","swagger-ui"],"created_at":"2024-11-25T19:24:56.850Z","updated_at":"2025-04-12T12:20:46.289Z","avatar_url":"https://github.com/jeescu.png","language":"JavaScript","readme":"# Express REST API starter\n[![Build Status](https://travis-ci.org/jeescu/express-rest-api.svg?style=flat-square)](https://travis-ci.org/jeescu/express-rest-api)\n[![bitHound Dependencies](https://www.bithound.io/github/jeescu/express-rest-api/badges/dependencies.svg?style=flat-square)](https://www.bithound.io/github/jeescu/express-rest-api/master/dependencies/npm)\n[![bitHound Dev Dependencies](https://www.bithound.io/github/jeescu/express-rest-api/badges/devDependencies.svg?style=flat-square)](https://www.bithound.io/github/jeescu/express-rest-api/master/dependencies/npm)\n\nA REST API boilerplate for NodeJS that uses collections \nof basic practices: Auth, Security, RESTful resources, API docs, Testing and Logging.\n\n\u003e Uses MongoDB as its database and Passport for authentication with (jwt).\n\n## Libraries and tools used\n- [Express](https://expressjs.com/)\n- [Mongodb](https://www.mongodb.com)\n- [Babel (preset 2015)](https://babeljs.io/docs/plugins/preset-es2015/)\n- [Passport](https://github.com/jaredhanson/passport)\n- [JsonWebToken](https://github.com/auth0/node-jsonwebtoken)\n- [Mongoose]()\n- [SwaggerUI](https://github.com/scottie1984/swagger-ui-express)\n- [Morgan](https://github.com/expressjs/morgan), [Helmet](https://github.com/helmetjs/helmet), [Cors](https://github.com/expressjs/cors)\n- [Mocha](https://mochajs.org/#getting-started), [Chai](http://chaijs.com/api/), [Supertest](https://github.com/visionmedia/supertest)\n- [Winston](https://github.com/winstonjs/winston)\n- [Docker](https://www.docker.com/)\n\n### Getting Started\nClone this repository and install dependencies\n```\n\u003e git clone git@github.com:jeescu/express-rest-api.git\n\u003e cd express-rest-api\n\n\u003e npm install\n```\n#### Run development with nodemon\n```\n\u003e npm run dev\n```\n\n#### Build and run for production \n```\n\u003e npm run start\n```\n\n#### Tests\nUnit tests:\n```\n\u003e npm run test:specs\n```\n\nBlack-box end-to-end tests:\n```\nnpm run test:e2e\n```\n\nOr run both tests:\n```\n\u003e npm test\n```\n\n#### Lint\n```\n\u003e npm run lint\n```\n\n### Docker support\n```\n\u003e cd express-rest-api\n\n# Build your docker\n\u003e docker build -t rest-api .\n\n# Run your docker image with the tag name\n\u003e docker run -p 8080:8080 rest-api\n```\n\n### API documentation\nCheckout `localhost:8080/docs`.\n\nWhen using [Apiary](https://apiary.io/), create new project api using swagger and\ncopy `swagger.json` content to the editor and publish it. See [example](http://docs.expressrestapi.apiary.io).\n\n## Licence\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeescu%2Fexpress-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeescu%2Fexpress-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeescu%2Fexpress-rest-api/lists"}