Home / Companies / Retool / Blog / September 2020

September 2020 Summaries

4 posts from Retool

Filter
Month: Year:
Post Summaries Back to Blog
The tutorial outlines how to set up a basic CRUD (Create, Read, Update, Delete) application using Cloud Firestore with the Node.js SDK, emphasizing the database's capabilities in handling intricate database management tasks for internal apps. It begins by guiding users through the installation and initialization of the Node.js client library and the setting up of a service account for database interaction. The tutorial then delves into CRUD operations, using a fictitious online retailer's user data to demonstrate creating documents with the set() method, reading data with get(), updating data using set() with merge and the update() method, and deleting documents or fields with the delete() method. Additionally, it touches on structuring data in Firestore, handling real-time updates with onSnapshot(), and the nuances of managing subcollections when deleting documents. The guide concludes by highlighting Retool's capabilities for building internal tools and CRUD apps efficiently, presenting a case study of LeadGenius, which saved $1 million through optimized internal applications.
Sep 21, 2020 1,462 words in the original blog post.
This guide provides a comprehensive tutorial on creating forms in React applications using the react-hook-form library, focusing on building a form for an internal tool with features such as styling, validation, and error handling. It covers the use of the useForm() hook to manage form data, validation rules, and the display of error messages, as well as the integration of styled-components for CSS styling and Material UI for enhanced functionality. The tutorial also explains how to implement specific validation techniques, such as ensuring required fields, validating addresses, and formatting dates correctly, while highlighting the lightweight nature and efficiency of react-hook-form compared to other form libraries.
Sep 15, 2020 3,312 words in the original blog post.
The guide provides a comprehensive tutorial on using Firebase's legacy Realtime Database to perform basic CRUD (Create, Read, Update, Delete) operations via its REST API, using a sample database for an online retailer's internal app as an example. It highlights the process of creating data with defined keys using the PUT method, reading data with GET requests that can be filtered or ordered, updating data with PATCH to add or modify fields without overwriting nodes, and deleting records or specific fields with DELETE. The guide underscores the importance of data security by configuring access rules through Firebase's GUI or REST API, which can restrict read and write permissions using variables and conditionals based on authentication. It advises on best practices for structuring data in JSON tree format to enhance efficiency and security, such as avoiding nested data, flattening structures, and creating indexable data groups, all while emphasizing the flexibility and scalability of the Firebase Realtime Database.
Sep 08, 2020 2,034 words in the original blog post.
The article provides a comprehensive guide to using the react-datepicker library in React applications, particularly for internal tools such as customer support dashboards. It explains how to implement basic datepicker functionality, customize it with features like time selection, range selection, and disabling future dates, and enhance it with a clear button for user convenience. The guide also covers styling techniques using Styled Components to adjust the appearance of the datepicker and its elements, such as the clear button. Additionally, the tutorial highlights the importance of managing state with React Hooks, specifically useState, for handling the selected dates, and it offers strategies for extracting date information for further use within applications. The react-datepicker library is praised for its lightweight build and support for modern browsers, contributing to its popularity among developers.
Sep 01, 2020 2,346 words in the original blog post.