DEK project base structure
What does the bootstrap do?
- Create a basic HTTP server with Express (https://www.npmjs.com/package/express)
- Set up the Babel build environment (https://babeljs.io/)
- Structure in ES6 build by Babel
- Configuration control via dotenv (https://www.npmjs.com/package/dotenv)
To install the bootstrap we recommend using the CLI
$ npm i -g @dekproject/cli
$ dek init
After a brief fill of project information select the option "Do you want to use DEK skeleton?"
$ yarn dev
To build the ES6 files in the standard compatible with the NodeJS for production
$ yarn build
To create a project production container, execute the following commands:
$ yarn start