In this post, I will show how to add error handling when using async/await. One of the goals of async/await is to make the asynchronous code appear more syntactically similar to synchronous code. This is also true for […]
RESTful API Using async, await – Node, Express and sequelize
By reading this tutorial you can build RESTful APIs using Node, express, and Sequelize ORM. You gonna use the different HTTP methods during the REST API development, quick introduction about each method. GET to retrieve […]
.dockerignore
In this post will show you how to use the .dockerignore. It will help reducing Docker image size, speedup docker build and avoid unintended secret exposure. .dockerignore behaviors same as .gitignore, it removes the extra […]
How To Stop and Remove All Docker Images, Containers, and Volumes
In this guide, I will show you simple tips to stop and remove containers, docker images, and values. List all Docker Images
1 |
docker images -q |
1 2 3 4 |
// to remove one specific image docker rm image1 // to remove two (more) specific images, just mention list docker rm image1 image2 |
Build REST apis with Laravel 4.2
Create a brand new Laravel Project with below command
1 |
$ composer create-project laravel/laravel todo 4.2 --prefer-dist |
1 2 3 4 5 6 7 8 9 10 |
'mysql' => array( 'driver' => 'mysql', 'host' => 'localhost', 'database' => 'laravel42', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', ), |