In Golang, one can pass the database connection to the controller as a global variable or by creating a separate struct or by creating a repository interface and passing it to the controller.
Being a software developer I think the important reasons to start blogging are to share knowledge, keep learning, improve your writing skills and make an alternative income source.
Demonstrating how to create a React application that supports multiple themes and allows users to switch between the themes using Material UI and TypeScript.
Demonstrating how to add authentication to our serverless React application using AWS Amplify. We will allow the user to sign up using Email, Facebook and Google.
Find out how to share monitors, keyboard, and mouse with multiple computers seamlessly without having to switch them between the computers.
Some useful and interesting Visual Studio Code extensions and add-ons that will spice up your development experience. Operator Mono font with ligatures for VSCode.
Learn how to build and deploy frontend applications to AWS S3 automatically when you release a new version using Circle CI and Circle CI Orbs.
Learn how to implement undo/redo functionality in a redux reducer using Immer – an immutable library that generates patches and inverse patches that allows us to move back and forth between the changes performed in the redux reducer.
Learn how to use rxjs and redux-observable to manage WebSocket connection with logic to handle reconnection on connection failure, sending and receiving messages.
Writing clean and maintainable large scale react application using redux for the state management, immer for immutability, typescript for type safety and redux observables for handling async actions.