<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Femi Wallace on Medium]]></title>
        <description><![CDATA[Stories by Femi Wallace on Medium]]></description>
        <link>https://medium.com/@FemiWallace?source=rss-e868391dbeaa------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HzCWtKiharKmElXn4up7KA.png</url>
            <title>Stories by Femi Wallace on Medium</title>
            <link>https://medium.com/@FemiWallace?source=rss-e868391dbeaa------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 02:56:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@FemiWallace/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Simplify Your Coding Process: Implementing React Hooks and Axios with the MERN Stack]]></title>
            <link>https://medium.com/@FemiWallace/simplify-your-coding-process-implementing-react-hooks-and-axios-with-the-mern-stack-fbd71904ab0?source=rss-e868391dbeaa------2</link>
            <guid isPermaLink="false">https://medium.com/p/fbd71904ab0</guid>
            <dc:creator><![CDATA[Femi Wallace]]></dc:creator>
            <pubDate>Sun, 13 Aug 2023 23:43:52 GMT</pubDate>
            <atom:updated>2023-08-13T23:43:52.021Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*byF4YDSMRBwtKi0wWgiqAQ.png" /></figure><p>The MERN stack is a game-changer for web development. It combines MongoDB, Express.js, React.js, and Node.js to form a full-stack development platform that covers all aspects of building dynamic and scalable web applications. This versatile set of technologies delivers a simple and efficient way to create web applications that perform well and look great.</p><h3><strong>Introduction</strong></h3><h3>Understanding the MERN Stack</h3><p>The MERN stack consists of MongoDB, Express.js, React.js, and Node.js. These four technologies work together to provide a complete software solution for developing web applications. MongoDB is the database, storing data in a flexible, JSON-like format. Express.js is a web framework for Node.js, offering powerful features for web and mobile applications. React.js, a JavaScript library, helps in creating user interfaces, and Node.js, an open-source cross-platform, runs JavaScript code outside of a browser.</p><h3><strong>Simplifying Your Coding Process: Why It Matters</strong></h3><p>Coding can be complicated and time-consuming. By making it simpler, you can improve productivity, reduce errors, and make your code more readable and maintainable. This is where tools like React Hooks and Axios come in handy. They offer ways to handle state and side effects in your React components and promise-based HTTP requests, respectively, making the development process easier and faster.</p><h3>What are React Hooks and Axios?</h3><p>React Hooks(introduced in react 16.8) are functions that let you use React state and lifecycle features from function components. They enable you to access state and other React features without having to write a class. React has several built-in hooks, such as useState, useEffect, useContext, useReducer, and useRef, among others.</p><h3>How and Why to Use React Hooks</h3><p>React Hooks offer a lot of advantages. They allow you to reuse stateful logic between different components without changing your component hierarchy, resulting in less code duplication. They also split complex components into smaller functions based on what pieces are related, making your components much easier to test, understand, and manage.</p><p>Axios is a popular, promise-based HTTP client that makes it easy to send asynchronous HTTP requests to REST endpoints and perform CRUD operations. It can be used in plain JavaScript or with a library such as Vue.js or React.js.</p><h3>How and Why to Use Axios</h3><p>Axios is easy to use and versatile, allowing you to make HTTP requests from the browser using XMLHttpRequest or from Node.js using HTTP. It supports promise-based API calls, allowing you to handle both the request and response asynchronously, resulting in cleaner and more readable code. It also offers a wide range of useful features such as intercepting requests and responses, transforming request data, canceling requests, automatic transformation of JSON data, and many more.</p><h3>Implementing React Hooks and Axios with MongoDB</h3><h3>What is MongoDB</h3><p>MongoDB is a document-oriented NoSQL database program. It stores its data in flexible, JSON-like documents, meaning fields can vary from document to document, and data structure can be changed over time. This flexibility makes it an excellent choice for many modern applications that require a flexible, scalable, and performance-oriented database.</p><h3>Using React Hooks and Axios with MongoDB</h3><h4><em>Let’s learn how to use React Hooks and Axios with MongoDB.</em></h4><p>First, make sure that MongoDB is installed and running on your local machine.</p><ul><li>For Windows, you can check in your program files in C:\ to look for a MongoDB folder. You can also start the MongoDB server by using the mongo command in the bin folder of your MongoDB installation. For example: C:\Program Files\MongoDB\Server\5.0\bin&gt;mongo. This should start the MongoDB shell (mongosh) if MongoDB is installed.</li><li>For macOS, you can use Homebrew to install MongoDB locally. To check if MongoDB is installed, you can use the command brew list | grep mongo. This should show you the MongoDB packages you have installed.</li><li>For Linux, you can use your package manager to install MongoDB. To check if MongoDB is installed, you can use the command mongo --version. This should show you the MongoDB version you have installed.</li></ul><p>If you don’t have MongoDB installed, you can follow the installation instructions for your operating system from <a href="https://www.mongodb.com/docs/manual/installation/">https://www.mongodb.com/docs/manual/installation/</a>.</p><p>Next, create a new Node.js project and install Mongoose, a MongoDB object modeling tool designed to work in an asynchronous environment.</p><p>Now, create a Mongoose model for your data. In your model file, import mongoose, create your schema, and then export the model:</p><pre>// Import mongoose<br>const mongoose = require(&quot;mongoose&quot;);<br><br>// Create schema<br>const Schema = mongoose.Schema;<br>const dataSchema = new Schema({<br>  // Define your fields here<br>});<br><br>// Export model<br>module.exports = mongoose.model(&quot;Data&quot;, dataSchema);</pre><p>Create a controller file to handle database operations. Inside this file, you’ll import your model and define various functions that interact with MongoDB through the model.</p><p>With your backend ready, you can now work on the frontend. Create a new React project, and install Axios. Then, create a new component and use the useState hook to manage your component’s state. You can then use Axios to send requests to your backend and use the response data to update your state with the setState function.</p><h3>Using React Hooks and Axios with ExpressJS</h3><p>Express.js, or simply Express, is a flexible Node.js web application framework that provides a robust set of features for web and mobile applications. It simplifies the process of writing server-side applications, and it’s a key part of the Node.js ecosystem.</p><h3>Let’s see how to use React Hooks and Axios with Express.js.</h3><p>First, make sure that Node.js and Express are installed on your local machine. Then, create a new Express app using the Express generator. Inside your app, create routes that correspond to the operations you want to perform.</p><p>Next, inside your routes, add route handlers for each operation. Each handler should use Mongoose to interact with your MongoDB database, and then send the response back to the client.</p><p>On the front end, inside your React component, use the state hook to manage your component’s state. Then, use Axios to send requests to your Express server, and use the response data to update your state with the setState function.</p><h3>A step-by-step guide to implementing React Hooks and Axios with ReactJS</h3><p>To implement React Hooks and Axios with React.js, you’ll need to first create a new React application. You can do this easily with the Create React App command-line tool. Once your new application is ready, install Axios using npm or yarn.</p><p>To install Axios using yarn or npm, you can use the following commands in your console at your project’s root:</p><ul><li>Using yarn: $ yarn add axios</li><li>Using npm: $ npm install axios --save</li></ul><p>Inside your new app, create a new component. In this component, you’ll use the useState hook to create a state variable and a setter function. This state will be used to store data retrieved from the server.</p><pre>import React, { useState } from &#39;react&#39;;<br><br>const MyComponent = () =&gt; {<br>  const [data, setData] = useState(null);<br><br>  //...<br>}</pre><p>Next, use the useEffect hook to run the Axios code when the component mounts. Axios will send an HTTP request to your server, and the server’s response will be set as the component’s state:</p><pre>import React, { useState, useEffect } from &#39;react&#39;;<br>import axios from &#39;axios&#39;;<br><br>const MyComponent = () =&gt; {<br>  const [data, setData] = useState(null);<br><br>  useEffect(() =&gt; {<br>    const fetchData = async () =&gt; {<br>      const result = await axios(&#39;http://my-server.com/api/data&#39;);<br>      setData(result.data);<br>    };<br><br>    fetchData();<br>  }, []);<br><br>  //...<br>}</pre><p><em>With this pattern, your component will fetch data from the server when it mounts and update its own state when the data arrives, causing a re-render with the new data</em>.</p><h3>How to use React Hooks and Axios with Node.js</h3><p>Using React Hooks and Axios with Node.js requires setting up a Node.js server that can handle and respond to HTTP requests. Here’s how you can do it:</p><p>Start by ensuring that Node.js is installed on your machine.</p><ul><li>Open the Windows Command Prompt, Powershell, or a similar command line tool, and type node -v. This should print a version number, so you’ll see something like this v12.13.0.</li><li>Check the default install location C:\Program Files\nodejs or go to System Settings -&gt; Add or Remove Programs and filter by node, it should show you if you have it installed.</li><li>Use a Node version manager to install Node.js and npm. There are different options for OSX, Linux, Windows, and other operating systems</li></ul><p>Then, create a new Node.js project using npm or yarn.</p><ul><li>Create a project directory and navigate to it in your terminal/console. For example: mkdir myapp and cd myapp.</li><li>Run the init command for the package manager of your choice. For example: npm init or yarn init. This will open up an interactive form for creating a new project with some questions</li><li>Follow the command line prompt and you can leave everything as the default, or customize it as you wish. This will create a package.json file that contains your project configuration and dependencies.</li><li>Install any additional dependencies you need using the install command. For example: npm install express or yarn add express. This will also update your package.json file and create a yarn.lock or package-lock.json file that locks your dependency versions</li></ul><p>Install Express.js, which is a popular web framework for Node.js.</p><p>Create a new Express.js app and define some routes that your front-end app will call using Axios. These routes should correspond to the operations you want to perform on your MongoDB database.</p><p>For each route, add a route handler that uses Mongoose to interact with your database. Once the operation is complete, use the response object to send a response back to the client.</p><p>On the front end, inside your React component, use the useState hook to manage your component’s state. Then, use Axios to send requests to your Node.js server, and use the response data to update your state with the setState function.</p><h3>Conclusion</h3><h3><strong>Summary of the benefits and implementation of React Hooks and Axios with the MERN Stack.</strong></h3><p>In conclusion, React Hooks and Axios provide powerful tools for simplifying your coding process when working with the MERN stack. React Hooks offer a way to handle state and side effects in your React components without classes, leading to cleaner and easier-to-understand code. Axios, on the other hand, provides a straightforward way to make HTTP requests from your front-end app to your server, supporting asynchronous operations and leading to more responsive apps.</p><p>This blog post has provided a step-by-step guide on how to use these technologies with the MERN stack. With this knowledge, you should be well-equipped to simplify your coding process, improve your productivity, and build better web applications.</p><p>Remember, the key to being a successful developer is always staying curious and never stopping learning. So keep experimenting with new tools and techniques, and have fun coding!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pR57fVTom25Y06fyQultgw.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fbd71904ab0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Discovering Google Cloud…]]></title>
            <link>https://medium.com/@FemiWallace/discovering-google-cloud-5dcfbbbc97bf?source=rss-e868391dbeaa------2</link>
            <guid isPermaLink="false">https://medium.com/p/5dcfbbbc97bf</guid>
            <dc:creator><![CDATA[Femi Wallace]]></dc:creator>
            <pubDate>Sun, 06 Aug 2023 23:35:17 GMT</pubDate>
            <atom:updated>2023-08-06T23:35:17.185Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*YIkxkOaq0bhd2bAj1bafow.jpeg" /></figure><p>The Google Cloud Platform (GCP) is a collection of cloud computing services that Google offers. It employs the same internal infrastructure as Google does for its consumer products including Google Search, Gmail, Drive, and YouTube.</p><p>Google measures all your GCP-based Web site, app, or service resources, such as computing power, storage space, database queries, and network traffic. You only pay for what you use of these resources, by the minute or second, instead of renting a server or a DNS address for a whole month (like you would with a regular Web site provider). You also get discounts when your Web customers use your services a lot.</p><p><strong>What does a cloud platform mean?</strong></p><p>A cloud platform lets you offer your users, customers, or co-workers an app instead of a Web site. For example, you could make an app that helps homebuilders design kitchen cabinets, uses advanced analytics to evaluate college sports prospects, or creates a searchable index of old newspaper pages.</p><p>A cloud platform like GCP lets you create and run an app that can use the benefits of huge data centers, such as global reach, advanced analytics and AI, large data storage, and cost savings. You only pay for the resources your app consumes, not the machine itself. A cloud platform is a software system that automatically delivers functions and applications when you need them. If your business can run its own apps with a similar portal to GCP, now that’s a real cloud.</p><p>Some Basic Google Cloud tools</p><h3>Google Cloud Storage</h3><p>GCP Cloud Storage (GCS) is an object-based storage system, which means that its records maintain the identity and structure of any class of data delivered to it. Whereas the file system of a standard storage volume, where each file or document is rendered as a string of digits whose location is registered in a file allocation table, object storage is an all-purpose block that is leased to users like parking space in a park-and-lock. It may store fully organized databases, raw video streams, or machine-learning model matrices.</p><h3>Google Cloud workload deployment services</h3><p>GCP does have virtual machine instances, but that’s not its main focus. As the creator of <em>Kubernetes,</em> GCP mainly helps businesses to run and manage workloads that use containers.</p><h3>Nearline</h3><p>Nearline is a way to store data that you rarely use, like backups and archives, on <em>Google Cloud Storage.</em> This data is not a typical “database.” You only look at it once a month or less, by one user. Google calls this “cold storage,” and lowers the price for such low-demand cases as system backups.</p><h3>Google Compute Engine</h3><p>GCE(Google compute engine) is Google’s basic service that lets you run virtual machines on its cloud platform. It competes with Amazon’s main service which does the same thing. Virtual machines are software-based platforms that can run different applications and services and can be moved or shared among physical servers in data centers. This makes them more flexible and efficient. Virtual machines were designed to be portable within data centers, but cloud services like GCE make them available on demand and charge customers for the resources they use.</p><p>An instance is a set of virtual machine resources that acts like a physical server with the same amount of resources. Usually, a service provider charges a fixed monthly rate for using an instance in minutes, and other resources it uses. GCP is more competitive because it charges customers in seconds instead of minutes. It also lets customers choose the exact resource configuration they want for their VMs, which helps enterprises that still use legacy applications that were made for specific physical machines.</p><h3>Google Kubernetes Engine</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/909/1*JmQgcr0KTT1_ra3byYNzYw.jpeg" /></figure><p>A container is a newer, more flexible, more adaptable way of virtualization. Instead of copying a physical server, it wraps up only the resources an application needs to run and runs that application on the server’s own operating system. A container and a virtual machine are like a single light bulb and a flashlight with batteries.</p><p>GKE(Google Kubernetes Engine) is GCP’s(Google Cloud Platform) service that lets you run containerized applications on its cloud platform without worrying about the details. A container is a neat package that can run on any system or server that has the right infrastructure for it. A Linux container needs Linux, and a Windows container needs Windows, but that’s about it. A container can go anywhere. If your developers can make applications as complete, portable, self-contained packages, GKE can deploy and run them for you.</p><p>The big advantage here — what makes container engines so much better than VM hosts — is that the customer is not paying for instances. So you don’t have to worry about how much processing power or resource limits you need for the host; you just give GKE the container, and it fits it in the right place.</p><h3>Google App Engine</h3><p>Cloud-native development is a way of creating applications that are designed, tested, and deployed on a public cloud platform from the start. Google App Engine (GAE) is a service from GCP that lets developers build applications online using their preferred language (though Google often recommends Python).</p><p>GAE can be seen as a variation of Container Engine, where the container is built on the same platform where it will run. GAE provides the runtime components, such as interpreters and JIT compilers, to execute programs in Python, Ruby, Node.js (server-side JavaScript), and other popular languages. These runtime components are the same ones that a developer would use to create a container. So a customer could use App Engine to make an application with a runtime that Google does not offer.</p><p>A customer, for example, may opt to provide Microsoft’s .NET runtime component, which is required to execute applications written in Microsoft’s languages such as C#, Visual Basic, and even F#. Microsoft harmonized its.NET platform components in November 2020, effectively combining the open source.NET Core branch with the original.NET branch. After Microsoft introduced.NET 5.0, Google immediately made plans to support it in its Cloud Run service.</p><h3>Anthos</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/102/1*-sm3nNu1AMcpxcRyjLR7-g.jpeg" /></figure><p>Anthos is Google’s first platform that can deploy applications across multiple clouds, including hybrid cloud (which uses customers’ on-premises IT assets) and AWS-based (with Azure coming soon), all managed together under GCP. The goal is to provide the distributed computing system that many enterprise customers want, where they can select storage systems, VM hosts, and container hosts based on market conditions, while keeping control of the gateway.</p><p>The idea is that Kubernetes clusters can be distributed. Anthos lets an application that uses multiple clusters split those clusters among cloud platforms. For now, public cloud-based clusters can run on GCP and/or AWS, with no extra cost for using both. Customers can also use their own on-premises servers to host parts of Anthos-based applications, for hourly or monthly fees. On-premises Anthos clusters can run on bare metal (simple, standard servers) or be integrated with their existing VMware environments.</p><p>So far, Anthos has been used by organizations that have IT needs across many locations (for example, their own ATMs or kiosks, and that also run their own branches). These customers may want to run applications as close to the customer as possible, without always using public cloud deployments where they can avoid it, to reduce costs.</p><h3>Google Cloud database services</h3><h3>BigQuery</h3><p>At Google, “big data” is just “data.” That’s what Google engineers often say. BigQuery is GCP’s tool for applying relational database insights to huge amounts of data. It was inspired by a tool Google made for itself — Dremel. Dremel was used to query Gmail data stores in depth. But Google couldn’t use that name for its commercial product, so it chose BigQuery instead.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*U6UaQnPj51crV_9K_U71rQ.png" /></figure><p>BigQuery uses standard ANSI SQL as its query model. This is the language most relational databases use. In a typical relational database, data is stored in tables with records. Data elements that have a relation are written or stored together on one level. This model works well but becomes slower as data volumes increase.</p><h3>Cloud Bigtable</h3><p>Cloud Bigtable, formerly known as BigTable, is a massively distributed data system that organizes related data into a multi-dimensional assembly of key/value pairs. It is based on the large-scale storage system Google developed for its own usage in storing search indexes. An assembly like this is easier to handle for analytics applications than a very big index for a massive relational database with several tables whose records must be linked at query time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/1*uApis8G9WWqMPxBcNCuT6w.png" /></figure><p><strong>How much does it usually cost to use Google Cloud?</strong></p><p>For broader models, <a href="https://cloud.google.com/products/calculator/">Google offers a cost estimator</a> using formulas that are always up to date. But you need to have a good idea of what resources you plan to use, to use that calculator. For example, you’d need to know the most compute nodes you’d scale out to, how much persistent disk storage your app will need (not ephemeral storage), and which availability zone would be best for load balancing, among other things, to get a price estimate for Google Kubernetes Engine.</p><p>A virtual machine (VM) instance is like a real server with a fixed amount of RAM, vCPU, and storage. Amazon AWS was the first to offer different types of VM instances with its pricing model. Google Compute Engine also has pre-defined VM instances, which cost between $0.021 and $0.026 per vCPU hour and between $0.0029 and $0.0035 per GB hour for storage, in the US zones. These prices vary by the second, but Google charges at least one minute of usage and rounds up to the nearest minute.</p><p>Google says its cloud services can be cheaper than Amazon’s and Azure’s because it gives discounts for some usage patterns:</p><ul><li>Customers can pick a machine instance that Google may stop when idle. They pay for the instance’s availability, not its resources, and get 70% off when idle. (But using a custom disk image costs extra.)</li><li>Customers can make custom usage types, which let them pick VM buildouts that are different from pre-defined models. But Google does not promise discounts for using custom types anymore.</li><li>GCP gives sustained use discounts for workloads that run often, from 25 percent of the time up. A workload that runs all the time may get 30 percent off.</li><li>If customers agree to use Google’s resources for 1 to 3 years continuously, they can get discounts of up to 57 percent.</li><li>Storage Growth Plan is a program for enterprises that need to store huge amounts of data on GCS. They can get discounts by paying a minimum monthly fee for 12 months. This program is not for small businesses but for very large data users.</li></ul><p><strong>Google Cloud and Microsoft Azure: A side-by-side analysis</strong></p><p>Azure started as a cloud platform for deploying applications written in Microsoft’s .NET languages. It grew its services based on its close connection with software developers. So you could say that the typical Azure customer is “the Visual Studio user.”</p><p>GCP was built around one of its own core functions: distributed software orchestration. It doesn’t help you or your organization create software as much as it would help you deploy it. As the inventor of Kubernetes, Google’s strength is in distributing software globally. It solved the problem of updating its search engine and e-mail service and then made this solution available for small businesses.</p><p>Google wants to reach more than just tech-savvy businesses that already understand distributed software and its potential. That’s why it tries to make this technology easier to use, like teaching hobbyists how to benefit from nuclear power.</p><p>This is what sets Azure and GCP apart: Google has done more (so far) to make its services accessible to people who may not know them well. You may find BigQuery or Cloud Storage simpler to use.</p><p><strong>Google Cloud and AWS(Amazon Web Services): A side-by-side analysis</strong></p><p>GCP can’t beat AWS in hosting virtual machines, so it offers other options, like custom instances and pricing models, that can help some customers. VMs are the old way of running software, but any cloud provider needs to offer them to stay in the game.</p><p>Amazon was very late to adopt Kubernetes, its own competitor. . . and then delayed some more, probably not wanting to lose its core business.</p><p>Google has been celebrated as the creator and still, in the public eye, the leader of Kubernetes.</p><p>Another point for Google is that Amazon’s Kubernetes system is tied to Amazon, while GCP (especially with Anthos) helps enterprise customers avoid being locked in by one vendor.</p><p>Many analysts agree that Amazon has too many service options that confuse its customers. No one knows where to start with AWS. Google can use this to its advantage by focusing on successful services that customers actually want, and not so much on trials and errors that won’t hurt the company if they fail.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5dcfbbbc97bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Drafting API Documentations(Examples and Best Practices)]]></title>
            <link>https://medium.com/@FemiWallace/drafting-api-documentations-examples-and-best-practices-dbc61534fb77?source=rss-e868391dbeaa------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbc61534fb77</guid>
            <dc:creator><![CDATA[Femi Wallace]]></dc:creator>
            <pubDate>Wed, 02 Aug 2023 03:37:03 GMT</pubDate>
            <atom:updated>2023-08-11T12:53:11.186Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Application Programming Interface" src="https://cdn-images-1.medium.com/max/350/1*1hpf4mdrFuaurGF4cjF9TQ.jpeg" /></figure><p>APIs are crucial to the digital world and used by major companies. Developers spend over 10 hours a week on them, including researching and studying reviews. The quality of an API determines the developer experience. Great APIs lead to success and competition. It all starts with documentation.</p><h3>The Bane of Developers: Common API Documentation Mistakes</h3><p>The dev community is a passionate one. It’s also very specifically passionate about the things they don’t like.Poorly written API documentation can cause developers to dislike a product even if it’s actually good. Common issues include unclear or confusing documentation.</p><p>Auto-generated docs often lack simple human language, which can be a problem. While code comments are helpful, they can’t replace clear explanations written by a developer or technical writer.<strong>It has very few code samples</strong>. This is another end of the spectrum where explanations are abundant, but there are minimal examples of the actual code.</p><p><strong>Automated documents</strong> may not use simple language, which is problematic. Code comments are helpful but can’t replace explanations written by a developer or technical writer.</p><p>Good API documentation is crucial for a successful development effort. Poorly written or hard-to-find docs can hinder progress. Writing great API docs requires a dedicated approach.</p><h3>Consider adopting specification-driven development as a software development approach.</h3><p>SDD is like test-driven development, but you write docs alongside building the API using a specification format. TDD(test-driven development) is a software development process where test cases are created before the software is fully developed, and the software is repeatedly tested against the test cases.</p><p>API specifications are like templates for your API’s design and functionality. Popular options include RAML(RESTful API Modeling Language), API Blueprint, and OpenAPI. Many are now combining their specs under OpenAPI.</p><p>With these specifications, you have access to pre-built documentation tools to assist in writing and managing your documents. One such tool is the API Console, which automatically generates documentation from RAML and OpenAPI formats. Additionally, it facilitates running the documentation on your current web application or as a standalone application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N3YTD7TYfsYgAgVx-X4sQA.png" /></figure><h3>Drafting for Beginners.</h3><p>Technical writers are experts at translating complex tech aspects into a readable format, as developers tend to use jargon in their writing.</p><p>Like any other software product, an API is designed to cater to a particular audience. However, when it comes to documentation, the audience is quite diverse. Generally, there are three primary groups of users who rely on API documentation: developers who will intimately interact with the docs</p><ul><li>For decision-makers such as CTOs and solution architects who need to make quick determinations on whether your API is a suitable fit.</li><li>You may encounter a variety of people who are interested in your API, from journalists and tech writers to competitors who may not even use it.</li><li>To target all users, focus on the least experienced. So, how do you write docs for newcomers?</li></ul><p><strong>Start with the opportunities rather than the technicalities. </strong>It’s best to focus on the benefits instead of technical details. Begin by sharing a captivating story about how your API can enhance a product or simplify the lives of developers. This will capture the attention of users and entice them to learn more.</p><p><strong>Provide instructions for the most frequently encountered use cases. </strong>To improve user experience with your API, create instructions for common use cases and provide sample messages in separate sections.</p><p><strong>Adopt a conversational tone when communicating</strong>. When talking to developers, be conversational and avoid dry, corporate language. Good documentation should always be human-friendly.</p><p><strong>Provide information on external tools. </strong>Include links to docs or installation guides for third-party products and concepts like OAuth or npm that your API uses.</p><p><strong>Simplify the learning process.</strong> API docs are a learning source. Add FAQs, tutorials, blogs, and videos to enrich your documentation.</p><h3>Use the industry-standard layout.</h3><p>API documentation often follows a similar layout, making it easy to navigate once you’re familiar with it. However, organizing a large amount of data is still a challenge. Here are the key features of an effective layout:</p><p><strong>Adaptable format</strong>. In 2020, an outdated API can be identified by its static documentation, such as a single page or PDF document. To keep up with modern standards, dynamic docs are preferred as they are easier to browse, update, and bookmark.</p><p><strong>Tacky contents</strong>. The navigation bar doesn’t cause any distractions or take up too much screen space. It is important to always keep the content visible.</p><p><strong>Three-panel/column layout</strong>. This layout adds a column on the right for code examples. It’s useful for highlighting code and avoiding scrolling or tab-switching.</p><p><strong>Scroll state</strong>. Use anchor links to specify page sections for easy navigation.</p><p><strong>Welcome feedbacks</strong>. Great documentation can make or break your API’s success. Use feedback tools to ensure you’re meeting developers’ needs and delivering helpful content.</p><h3>Examples of Great API Documentation</h3><p>I have compiled some additional informative documents for you to review and gain knowledge from.</p><h3>Spotify API documentation</h3><p>Spotify’s developer platform offers demos, examples, wrappers, and a console for exploring endpoints live. Their strong knowledge base and products make them a reliable partner for developers. <a href="https://developer.spotify.com/documentation/web-api">Link to Spotify web API</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DElmpkq4e9ulfVGZ8BUNeQ.png" /></figure><h3>Tumblr api documentation</h3><p>The Tumblr API allows you to access and manipulate Tumblr data, such as blogs, posts, users, tags, etc. You can use the API to create, edit, delete, or reblog posts, as well as get information about blogs, followers, likes, and more. The API uses JSON as the data format and OAuth 1.0a for authentication. You can find the documentation for the API <a href="https://www.tumblr.com/docs/en/api/v2#api-overview">here</a>. The API also supports the Neue Post Format (NPF), which is a new way of rendering posts on Tumblr.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-0xmvLtdN2OuEUjq8qUeYw.png" /></figure><p>The SoundCloud API allows you to access and manipulate SoundCloud data, such as tracks, playlists, users, comments, etc. You can use the API to create, edit, delete, or stream tracks, as well as get information about artists, genres, charts, and more. The API uses RESTful principles and JSON as the data format. Find the API <a href="https://developers.soundcloud.com/docs/api/guide">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gsKYhz41Ka1Zt6xevqspig.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbc61534fb77" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloud Engineering(The Genesis)]]></title>
            <link>https://medium.com/@FemiWallace/cloud-engineering-the-genesis-25141164c3b9?source=rss-e868391dbeaa------2</link>
            <guid isPermaLink="false">https://medium.com/p/25141164c3b9</guid>
            <dc:creator><![CDATA[Femi Wallace]]></dc:creator>
            <pubDate>Sun, 30 Jul 2023 14:18:42 GMT</pubDate>
            <atom:updated>2023-08-17T11:50:11.235Z</atom:updated>
            <content:encoded><![CDATA[<p>According to Glassdoor, A cloud engineer makes an average salary of $109,974 in the US as of June 2021. Cloud engineers with little experience can expect a salary of $97,500, while cloud engineers with solid skills earn around $163,000 a year. Cloud engineering is a booming tech skill you can perhaps get your hands on.</p><p>Cloud engineers build and maintain cloud infrastructure, with roles in architecting, development, and administration.</p><p>Cloud technology has been almost everywhere in recent years. Cloud technology allows for seamless streaming, email, and data backup. Companies benefit from easy data storage and software updates, while customers can access their information across different devices. As a cloud engineer, you keep everything running smoothly.</p><p><strong>What does a cloud engineer do?</strong></p><p>The responsibilities of a cloud engineer can vary significantly based on the organization they are employed with. It could be system design, product guidance, or helping google cloud customers to build and architect systems.</p><p>A cloud engineer’s daily tasks might include:</p><ul><li>Configuring cloud infrastructure components like networking and security services</li><li>Helping organizations migrate their computer systems to the cloud</li><li>Launching applications and databases that perform on the cloud</li><li>Overseeing cloud management and data storage services</li></ul><p><strong>Becoming a cloud engineer</strong></p><h3>1. Enhance your skill set.</h3><p>IT jobs that could have cloud-related tasks include systems engineer, network engineer, and database administrator. If you currently work in IT, be on the lookout for chances to advance your skills in these domains.</p><p>Cloud platforms: It’s best to focus on mastering one cloud platform, rather than having limited knowledge of many. The top four providers are AWS, Azure, Google Cloud, and IBM Cloud. Knowledge from one platform can often be applied to others with minor differences.</p><ul><li>Data storage and security: Knowing how to access, store, and protect data is a crucial aspect of being a cloud worker.</li><li>Networking: Knowing networking basics and virtual networks will be useful in integrating networks with cloud services.</li><li>Programming: Common languages used in cloud computing include Python, Java, Golang, or Ruby.</li><li>Operating systems: You should have a firm understanding of operating systems such as Windows and Linux.</li></ul><h3>2. Build hands-on experience.</h3><p>There are several ways you can gain hands-on experience working with the cloud. If you’re in an IT role, try approaching your manager to see if there are opportunities for you to shadow coworkers in cloud computing roles, or if you can take on tasks that will help you learn more cloud principles. You can also sign up for a cloud platform account and begin exploring on your own.</p><p>You can also dive into the cloud through several courses or Guided Projects — interactive learning experiences you can complete in two hours or less — such as:</p><ul><li><a href="https://www.coursera.org/learn/google-cloud-product-fundamentals">Google Cloud Product Fundamentals</a></li><li><a href="https://www.coursera.org/learn/introduction-to-cloud">Introduction to Cloud Computing by IBM</a></li><li><a href="https://www.coursera.org/specializations/aws-cloud-careers">Starting Your Career with AWS Cloud Specialization</a></li><li><a href="https://www.coursera.org/projects/create-virtual-machine-microsoft-azure">Create a Virtual Machine Using Microsoft Azure</a></li><li><a href="https://www.coursera.org/projects/create-virtual-private-cloud-vpc-aws">Create a Virtual Private Cloud (VPC) Using AWS</a></li></ul><h3>3. Get a certification.</h3><p>Get a certification to boost your technical skills and impress employers. Start with a foundational certification like Microsoft Azure Fundamentals AZ-900 to learn the technology and vocabulary of the cloud space.</p><p>You can also consider getting technical cloud certifications like AWS Associate or Google Associate Cloud Engineer.</p><h3>4. Ace your interviews.</h3><p>It’s helpful to practice answering technical interview questions before a live job interview. Mock interviews with someone you trust can help you get more comfortable with the process and improve your conversation skills.</p><h3>Cloud engineer career path</h3><p>Obtaining a bachelor’s degree in computer science or a related field can open up opportunities for entry-level cloud engineering positions, but it is not the only path to consider.</p><p>Many cloud professionals start in IT positions, such as systems engineers, network engineers, DevOps engineers, and database administrators, before moving on to become cloud engineers or administrators. Specialized roles, like cloud architect, are also possible.</p><p><strong>Summary</strong></p><p>Interested in becoming a cloud engineer? They play a crucial role in building and managing cloud infrastructure. Daily tasks include configuring components, launching apps and databases, and overseeing data storage. To become one, you should master a platform like AWS, Azure, Google Cloud, or IBM Cloud, and know about data storage, security, networking, programming, and operating systems. You can gain experience by shadowing coworkers, signing up for a platform account, or taking courses. Certification like Microsoft Azure Fundamentals AZ-900 can help improve skills. Many professionals start in IT positions before transitioning to cloud engineering. Specialized roles like cloud architects are also possible. With dedication and hard work, you can become a successful cloud engineer and make a positive impact on the world of cloud computing. Good luck!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5XTnVxBJO1NUi9oCyPJ9jA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25141164c3b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>