{"id":14956799,"url":"https://github.com/kylealwyn/node-rest-api-boilerplate","last_synced_at":"2026-04-21T11:06:07.974Z","repository":{"id":65459936,"uuid":"71841539","full_name":"kylealwyn/node-rest-api-boilerplate","owner":"kylealwyn","description":"ES6 Node Rest API boilerplate with Mongo Datastore","archived":false,"fork":false,"pushed_at":"2020-08-20T14:58:30.000Z","size":191,"stargazers_count":104,"open_issues_count":3,"forks_count":40,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-02-07T04:45:18.099Z","etag":null,"topics":["boilerplate","es6","mongo","node"],"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/kylealwyn.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-24T23:44:42.000Z","updated_at":"2024-12-29T08:04:50.000Z","dependencies_parsed_at":"2023-01-24T14:25:15.585Z","dependency_job_id":null,"html_url":"https://github.com/kylealwyn/node-rest-api-boilerplate","commit_stats":{"total_commits":86,"total_committers":3,"mean_commits":"28.666666666666668","dds":0.2325581395348837,"last_synced_commit":"35d0d8b9e262d7f92b43f1f9c8219288183f014e"},"previous_names":["kylealwyn/node-api-es6-boilerplate"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylealwyn%2Fnode-rest-api-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylealwyn%2Fnode-rest-api-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylealwyn%2Fnode-rest-api-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylealwyn%2Fnode-rest-api-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kylealwyn","download_url":"https://codeload.github.com/kylealwyn/node-rest-api-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237950876,"owners_count":19392667,"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":["boilerplate","es6","mongo","node"],"created_at":"2024-09-24T13:13:33.220Z","updated_at":"2025-10-24T10:31:00.561Z","avatar_url":"https://github.com/kylealwyn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Express \u0026 ES6 API Boilerplate\n[![Build Status](https://travis-ci.org/kylealwyn/node-rest-api-boilerplate.svg?branch=master)](https://travis-ci.org/kylealwyn/node-rest-api-boilerplate)\n\u003e Tested on Node v6 and above\n\n## Features\n- [x] ES6 for the latest \u0026 greatest javascript awesomeness\n- [x] [MongoDB](https://www.mongodb.com/) w/ [Mongoose](http://mongoosejs.com/) for data layer\n- [x] Testing via [Mocha](https://mochajs.org/) \u0026 [Chai](http://chaijs.com/)\n- [x] Test coverage via [Isparta](https://github.com/douglasduteil/isparta)\n- [x] Username/Email registration and authentication\n\n## Getting Started\nFirst, ensure you have node and mongo installed on your system.\n\n```sh\n# clone it\ngit clone git@github.com:kylealwyn/node-rest-api-boilerplate.git\ncd node-rest-api-boilerplate\n\n# Make it your own\nrm -rf .git \u0026\u0026 git init\n\n# Install dependencies\nnpm install\n\n# Run it\nnpm start\n\n# Try it!\ncurl -H \"Content-Type: application/json\" -X POST -d '{\"username\":\"jamesdean\", \"email\": \"example@gmail.com\", \"password\":\"password1\"}' http://localhost:4567/users\n```\n\n## Environment Variables\nPlace a `.env` file in the top level of the directory you've cloned. These variables will be automatically assigned to `process.env` when the application boots. It is gitignored by default as it's not good practice to store your environment variables in your remote repository.\nYour `.env` file can look something like this:\n\n```shell\nMONGO_URI=mongodb://somewhere:27017\nSESSION_SECRET=lolthisissecret\n```\n\nNow we can access one of these variables with something like `process.env.MONGO_URI`!\n\n## NPM Scripts\n\n- **`npm start`** - Start live-reloading development server\n- **`npm test`** - Run test suite\n- **`npm run test:watch`** - Run test suite with auto-reloading\n- **`npm run coverage`** - Generate test coverage\n- **`npm run build`** - Generate production ready application in `./build`\n\n## Todo\n- [ ] Add OAuth Login Support (Facebook, Twitter, Google)\n- [ ] Add support for MySql or PostgreSQL (Possibly with sequelize)\n- [ ] Reset password functionality\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylealwyn%2Fnode-rest-api-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkylealwyn%2Fnode-rest-api-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylealwyn%2Fnode-rest-api-boilerplate/lists"}