Best of Backend Development — February 2024
- 1
- 2
- 3
Snyk·2y
5 Node.js security code snippets every backend developer should know
Learn about essential Node.js security code snippets, including using the Node.js Permissions Model, implementing input validation with Fastify JSON schema, securing password hashing with Bcrypt, preventing SQL injection attacks with Knex.js, and implementing rate limiting with fastify-rate-limit.
- 4
- 5
- 6
- 7
Bits and Pieces·2y
Exploring The Adapter Pattern In Modern Web Applications
The Adapter pattern is used to reduce coupling between React components and backend responses in modern web applications. It allows for independent communication between the frontend and backend by adapting incompatible interfaces. The pattern can be implemented by creating an intermediary component known as an adapter to convert the backend API to work with the frontend component.
- 8
Python in Plain English·2y
Setting up PostgreSQL and PgAdmin4 using Docker: A Simplified Approach.
This post provides a simplified approach to setting up PostgreSQL and PgAdmin4 using Docker. It explains the benefits of containerization and guides readers through the process of installing Docker, running the Hello World container, and setting up PostgreSQL and PgAdmin4 containers. The post emphasizes the ease and efficiency of managing databases with containerization.
- 9
Appwrite·2y
Announcing Messaging: Push, Email and SMS directly from your Appwrite backend
Introducing Messaging by Appwrite, a unified API for sending push notifications, emails, and SMS from your backend code. Effective communication is crucial for user engagement and retention. With Messaging, you can streamline your messaging process and deliver personalized messages to your users' devices and inboxes. Choose from multiple providers for SMS notifications in Appwrite, and easily draft, schedule, and send messages through the Appwrite Console or SDKs.
- 10
asayer·2y
A Detailed Guide to Server Actions in Next.JS
Next.js provides Server Actions, which are asynchronous JavaScript functions that run on the server in response to client interactions. They have several benefits, including reduced client-side JavaScript, server-side data mutations, enhanced accessibility, improved performance, and greater flexibility. Server Actions can be created inside server components or in a separate file, and they can be invoked from form submissions or button clicks. They differ from API routes in their approach to handling server-side tasks.
- 11
Medium·2y
Getting started with Serverpod mini
Serverpod mini is a lightweight version of Serverpod that does not require external dependencies. It can be installed by running a command and creating a new project. Models can be defined in YAML files and converted to Dart classes. Methods can be added to the server by extending an endpoint class. The server methods can be called from the Flutter app.
- 12
Community Picks·2y
un/inbox: Modern email for teams and professionals. A replacement for outdated email technology and tools. Alt to hey.com, front.com, missiveapp.com
UnInbox is a modern email tool designed for effective communication, with features like team collaboration and new sender screening. It is built with Nuxt JS, NitroPublic API, TailwindCSS, and other technologies.
- 13
Appwrite·2y
Understanding data queries in database management
Developers need to understand different types of data queries and their functions, such as retrieval queries, insertion queries, update queries, and deletion queries. Best practices include optimizing performance, ensuring security, maintaining data integrity, and testing queries before applying them to the production database.
- 14
- 15
LogRocket·2y
Using SignalDB with React: A complete guide
SignalDB is a reactive JavaScript database that simplifies state handling in React. It offers real-time synchronization and updates, and has a MongoDB-like interface for data handling. SignalDB can be used alongside MongoDB for offline-first design and optimistic UI in React applications.
- 16
- 17
DEV·2y
🏁🐘Winning Race Conditions With PostgreSQL
This post discusses race conditions in databases, particularly in PostgreSQL, and provides solutions for avoiding them. It covers cases of simple uniqueness, compound uniqueness, compound multiple uniqueness, and compound referential uniqueness. The article also mentions the use of transactions, advisory locks, and the SERIALIZABLE transaction isolation level. Overall, it offers techniques to handle and prevent race conditions in database operations.
- 18
Towards Dev·2y
Day 18 : Learn Node.JS in 30 days (Beginners)
This post provides a beginner's guide to using Node.js and SQL to perform fundamental queries on a database table. It covers topics such as inserting data, selecting data, updating data, and deleting data using SQL commands. The post also includes examples of various SQL queries and their syntax.