Restify boilerplate in ES6
Installation
First, install Yeoman and generator-restify-es-6 using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-restify-es-6
Then generate your new project:
_-----_ ╭──────────────────────────╮
| | │ Let's create RESTify │
|--(o)--| │ server in ES6! │
`---------´ │ ~~Now on v0.1.0~~ │
( _´U`_ ) ╰──────────────────────────╯
/___A___\ /
| ~ |
__'.___.'__
´ ` |° ´ Y `
? Your project name restify-fix
? The namespace of your project restify-fix
? Your project description Description of restify-fix
? Your project URL https://github.com/username/restify-fix
I'm all done. Running npm install && bower install for you to install the required dependencies. If this fails, try running the command yourself.
create package.json
create adaptors/nameFinderAdaptor.es
create bootstrap/init.es
create bootstrap/locator.es
create config/common.api.json
create config/local.api.json
create config/test.api.json
create routes/hello/get.es
create services/serviceList.es
create services/staticNameFinderService.es
create test/helpers.es
create test/routes/hello/.gitkeep
create ecosystem.json5
create .babelrc
create .env
create .env.sample
create .env.test.ini
create .editorconfig
create .eslintrc.json
create .gitignore
create Gruntfile.js
create app.js
create server.es
create Dockerfile
create README.md
README ☺
View the generated applicationGetting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
License
The generator-restify-es-6 is open-sourced software licensed under the MIT license.