NodeJS API Scaffolding

If you’re looking to launch an API using NodeJS, here is a very handy scaffolded application starting point: https://github.com/litwicki/nodejs-api What you get: Logging JWT Authentication MongoDB (via Mongoose) modeling md-seed migration and seed management for MongoDB Docker & Docker-Compose provisioning dotenv environment variable management APIDOC automatically generated documentation Check out the repository for Read more…

Docker: `Cannot start service nginx`

While developing amongst many projects, you may encounter this error when using docker; more specifically docker-compose: ERROR: for {container_name} Cannot start service nginx: driver failed programming external connectivity on endpoint {container_name} ({hash}): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE) As a MAC user, the fix is Read more…