{"id":23419721,"url":"https://github.com/pdroll/es6-node-server","last_synced_at":"2025-07-12T02:09:29.456Z","repository":{"id":76116402,"uuid":"50894220","full_name":"pdroll/ES6-Node-Server","owner":"pdroll","description":"Boilerplate Node.js server that enables you to write with the ECMAScript 2015 syntax.","archived":false,"fork":false,"pushed_at":"2016-08-18T04:09:14.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T09:17:00.835Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/pdroll.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-02-02T04:31:27.000Z","updated_at":"2017-02-20T12:04:57.000Z","dependencies_parsed_at":"2023-07-09T17:01:25.812Z","dependency_job_id":null,"html_url":"https://github.com/pdroll/ES6-Node-Server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pdroll/ES6-Node-Server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdroll%2FES6-Node-Server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdroll%2FES6-Node-Server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdroll%2FES6-Node-Server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdroll%2FES6-Node-Server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pdroll","download_url":"https://codeload.github.com/pdroll/ES6-Node-Server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdroll%2FES6-Node-Server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264923494,"owners_count":23683759,"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":[],"created_at":"2024-12-23T01:28:08.920Z","updated_at":"2025-07-12T02:09:29.428Z","avatar_url":"https://github.com/pdroll.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ES6 Node Server Boilerplate\n\nEasily write your [Express](http://expressjs.com/) Node application in the [ES2015 syntax](https://babeljs.io/docs/learn-es2015/). Ideal for writing API's.\n\nUses [Babel](https://babeljs.io/) to compile your code, so you have access to the full ES2015 spec (and then some) regardless of what version of Node.js your server is running. \n\nSupport for the [object spread operator](https://babeljs.io/docs/plugins/transform-object-rest-spread/) and [class properties](https://babeljs.io/docs/plugins/transform-class-properties/) is included for your programming enjoyment.\n\n## Run Locally\n\n\n```\nnpm start\n```\n\nSpeeds up development by using [Nodemon](http://nodemon.io/) to restart the application when a file is changed.\n\n## Run in Production\n\nCompile your ES2015 to ES5 by running:\n\n```\nnpm run compile\n```\n\nThen you can run the compiled version by running:\n\n\n```\nnode compiled_server.js\n```\n\n## Run in Production with High Availability\n\nIf you want to ensure your application stays online, even if your script encounters an error, [PM2](http://pm2.keymetrics.io/) has your back.\n\nEnsure PM2 is installed on your machine:\n\n```\nnpm install pm2 -g\n```\n\nThen to compile your ES2015 code to straight ES5 code and serve the compiled version with PM2, you can run:\n\n```\nnpm run startProd\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdroll%2Fes6-node-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpdroll%2Fes6-node-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdroll%2Fes6-node-server/lists"}