Uploading files with Spring Boot and Express
Backend for the frontend is a classic middleware which acts as an intermediary between the backend and frontend. Learn how to Express as a backend for the frontend to upload a file using Spring and Angular.
Querying JSON documents in Oracle
Oracle added the native JSON support in the version 12c of their popular relational database system. Learn how to query JSON documents with the help of new conditions, data types, and functions.
Developing an API with Express and Postgres
Express is frequently used to create APIs in Node.js applications. Learn how to build an API to perform CRUD operations on a Postgres database. Explore patterns to organize routes, add support for hot-reloading and inject environment variables locally.
Linting with TypeScript ESLint
Logging on Node.js with log4js-node
console.log has been a prevalent anti-pattern overused by Node.js developers from years of printing to the console on a browser. While this is useful for quick debugging, it doesn't sit well with server-side design. log4js provides richer logging experience on server.
Request logging with morgan
Imagine developing an application with multiple APIs and remaining in the bind which of those were being used by the client and when! morgan can help by logging useful request information for an Express application.
Persisting documents with MongoRepository
Spring Data MongoDB provides a variety of ways to work with a MongoDB database. One of the ways is the repository-style programming model that adds convenient abstractions to work with MongoDB. Learn how to persist documents, cascade them, and create custom converters for specific data types.
Linting Sass with stylelint
stylelint is a widely used linter that works with Sass, Less and SugarSS. It supports a plugin system to extend its behavior. So, how to use it to lint the Sass files to avoid errors and enforce consistency?
Code Formatting with Prettier
Prettier is an opinionated code formatter that formats the code in a consistent style. It supports popular languages, libraries, and frameworks and is widely used to enforce the style practices. Learn how to configure it to work with EditorConfig and ESLint.
A yet another Git cheatsheet with useful commands and aliases