{"id":18918340,"url":"https://github.com/chunkai1312/api-boilerplate","last_synced_at":"2026-04-16T10:01:42.656Z","repository":{"id":71372916,"uuid":"68786213","full_name":"chunkai1312/api-boilerplate","owner":"chunkai1312","description":"A boilerplate for building api services based NodeJS, Express web framework and MongoDB","archived":false,"fork":false,"pushed_at":"2018-02-22T10:03:40.000Z","size":191,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-18T23:34:10.210Z","etag":null,"topics":["api","boilerplate","express","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chunkai1312.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-21T06:17:26.000Z","updated_at":"2018-02-22T10:04:14.000Z","dependencies_parsed_at":"2023-03-11T04:31:32.072Z","dependency_job_id":null,"html_url":"https://github.com/chunkai1312/api-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chunkai1312/api-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chunkai1312%2Fapi-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chunkai1312%2Fapi-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chunkai1312%2Fapi-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chunkai1312%2Fapi-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chunkai1312","download_url":"https://codeload.github.com/chunkai1312/api-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chunkai1312%2Fapi-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31880882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["api","boilerplate","express","mongodb","nodejs"],"created_at":"2024-11-08T10:31:18.245Z","updated_at":"2026-04-16T10:01:42.613Z","avatar_url":"https://github.com/chunkai1312.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# api-boilerplate\n\n[![Build Status][travis-image]][travis-url]\n[![Coverage Status][codecov-image]][codecov-url]\n[![JavaScript Style Guide][standardjs-image]][standardjs-url]\n\n\u003e A boilerplate for building api services based NodeJS, Express web framework and MongoDB\n\n## Features\n\n- ES6/ES2015+ support with [Babel](https://babeljs.io)\n- Application framework with [Express](http://expressjs.com)\n- Database object modeling with [Mongoose](http://mongoosejs.com)\n- Logging library with [Winston](https://github.com/winstonjs/winston)\n- Application watching and restarting use in development mode with [Nodemon](https://github.com/remy/nodemon)\n- Test Framework with [Jest](https://facebook.github.io/jest)\n- Todo API implementation for example\n\n## Requirements\n\n* [Node.js](https://nodejs.org) v6+\n* [Yarn](https://yarnpkg.com) or [NPM](https://www.npmjs.com)\n* [MongoDB](https://www.mongodb.com)\n\n## Installation\n\nClone this repo:\n\n```\n$ git clone https://github.com/punwave/punserve.git \u003cmy-project-name\u003e\n$ cd \u003cmy-project-name\u003e\n```\n\nInstall dependencies:\n\n```\n$ npm install\n```\n\n## Running the Project\n\n|`yarn \u003cscript\u003e`    |Description|\n|-------------------|-----------|\n|`start`            |Runs the application|\n|`dev`              |Runs the application in development mode with Nodemon|\n|`build`            |Builds the project for production|\n|`test`             |Runs unit tests with Jest|\n|`test:watch`       |Runs `test` in watch mode to re-run tests when changed|\n|`test:coverage`    |Runs `test` and generates code coverage report|\n|`lint`             |Lints the project for potential errors|\n\n## Project Structure\n\n```\n.\n├── bin\n│   └── api                 # Application entry point\n├── logs                    # Logging files\n├── src                     # Application source code\n│   ├── app                 # Application logic implementations\n│   │   ├── controllers     # Routing controller implementations\n│   │   ├── middlewares     # Connect/Express middleware implementations\n│   │   ├── models          # Schema/Entity definitions\n│   │   ├── repositories    # Repository implementations\n│   │   ├── routes          # Route definitions\n│   │   ├── servies         # Service implementations\n│   │   └── index.js        # Application settings\n│   ├── bootstrap           # App configurations\n│   │   ├── app.js          # Bootstrap application\n│   │   └── autoload.js     # Auto-load scripts\n│   ├── config              # Application configurations\n│   │   ├── env             # Environment variable definitions\n│   │   ├── index.js        # Export configurations\n│   │   └── config.js       # Configuration variables definitions\n│   ├── database            # Database settings\n│   │   └── index.js        # MongoDB connection settings\n│   ├── lib                 # Third-party libraries\n│   │   └── logger.js       # Winston logger settings\n│   └── index.js            # Export application\n└── test                    # testing scripts\n\n```\n\n## License\n\nMIT © [Chun-Kai Wang](https://github.com/chunkai1312)\n\n[travis-image]: https://img.shields.io/travis/punwave/punserve.svg\n[travis-url]: https://travis-ci.org/punwave/punserve\n[codecov-image]: https://img.shields.io/codecov/c/github/punwave/punserve.svg\n[codecov-url]: https://codecov.io/gh/punwave/punserve\n[standardjs-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg\n[standardjs-url]: http://standardjs.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchunkai1312%2Fapi-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchunkai1312%2Fapi-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchunkai1312%2Fapi-boilerplate/lists"}