Clone the repo:
git clone [email protected]:emilioriosvz/express-boilerplate.git
cd express-boilerplate
Install yarn:
npm install -g yarn
Install dependencies:
yarn
Build the image:
docker build -t <your username>/express-boilerplate .
If the image was created correctly, you can see it doing:
docker images
Run the image:
docker run -p 3000:3000 -d --name express-boilerplate <your username>/express-boilerplate
- Authentication via JsonWebToken
- Secure app via helmet
- Uses yarn instead of npm
- Uses StandardJS as style guide
- Promises via Bluebird
- API parameter validation via express-validation using Joi
If you like what you see, there are some tasks that would have to be done:
- Add testing
- Add code coverage
- Add eslint
- Add logger
Contributions, questions and comments are all welcome.🤘