Best of Axios — 2022

  1. 1
    Article
    Avatar of syncfusionSyncfusion·4y

    JavaScript API Mocking Techniques

    API Mocking Mocking is a client-side mocking framework that mocks the API in the browser by using the Pretender library. It has many built-in tools: serializer, route handlers, database, models, fixtures, and factories. It enables emulating dynamic behavior between the front end and back end, rather than mocking the same response over and over again by hitting an endpoint.

  2. 2
    Article
    Avatar of communityCommunity Picks·4y

    How to Use JavaScript to Automate SEO (With Scripts)

    Programming and automation are increasingly popular topics in the SEO industry. Learning to automate tasks with JavaScript will help you build a more solid foundation to dissect how JavaScript or its implementation may be affecting your site’s organic performance. The web development industry moves at an incredibly fast pace, and JavaScript is at the center of it. With this, you can create and save the same type of functions.

  3. 3
    Article
    Avatar of asayerasayer·4y

    Authentication with JWT for your website

    JWT is a stateless authentication mechanism popularly used as a client-side stateless session. A JWT can be symmetrically signed by a shared secret using the HMAC algorithm. While SAML tokens can use public/private key pairs like JWTs like JWT, the signing algorithm could be HMAC SHA256 or RSA. JWT has some recommendations for JWT developers. For more information about JWT and the signing algorithms. The JWT will be available on the JWT to help users and other services. For example, you can find out how to use JWT in a website and use a JWT on a site and use the J WT on a website. The signature is created by taking the encoded header, the encoded payload,

  4. 4
    Article
    Avatar of communityCommunity Picks·3y

    How I Built a Vue.js Ecommerce Store with a Node.js Backend

    Vue.js has been rising in popularity since it was first released due to its many advantages. It can be used to build a variety of apps, including websites, mobile apps, or desktop apps. For the backend, you’ll learn how to use Medusa, an open source Node.js commerce engine.

  5. 5
    Article
    Avatar of asayerasayer·3y

    Implementing reCAPTCHA in React

    Implementing reCAPTCHA in React.js is a generated test that allows the application to determine if a human or a computer bot performed specific actions. It uses sophisticated risk analysis methods to distinguish between humans and computer-generated bots. This tutorial will help you implement Google re CAPTCHA v2 in your React.

  6. 6
    Article
    Avatar of logrocketLogRocket·3y

    Build a full-stack application with AdminJS

    AdminJS is an open source Node.js admin panel that promises to do just that: AdminJS. The tutorial portion of this post will demonstrate how to use AdminJS to build a full-stack application. It offers a range of customizability, it provides a REST API that can be integrated into other applications.

  7. 7
    Article
    Avatar of communityCommunity Picks·4y

    How to Implement Redis as Cache in Node.js

    Redis is an open-source (BSD licensed) data structure store used as a database, cache, message broker, and streaming engine. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.

  8. 8
    Article
    Avatar of devtoDEV·4y

    Image search engine with React JS - React Query 🔋

    React Query will improve the performance of your application with the help of Unsplash API and React Query. This post requires you to know the basics of React with TypeScript (basic hooks). Any kind of feedback is welcome, thanks and I hope you enjoy the article.

  9. 9
    Article
    Avatar of communityCommunity Picks·4y

    The Full Guide to Web Scraping & Automation with JavaScript and NodeJS

    Node has created an enormous ecosystem and use cases ranging from data science, game development, AI and of course, web automation. The Full Guide to Web Scraping & Automation with JavaScript and NodeJS is a guide for anyone who wants to start web automation in 2022 using this incredible JavaScript platform.

  10. 10
    Article
    Avatar of devtoDEV·4y

    How to protect a route with JWT Token in React using Context API and React Cookies

    The routes will only be accessible when users have the token saved in cookies or local storage. We’ll learn how to protect a route by JWT authentication in react-router-dom v6.

  11. 11
    Article
    Avatar of communityCommunity Picks·4y

    Advanced TypeScript Patterns: API Contracts

    This post will use axios and express for the API client and server libraries respectively. The first step is to realize that your API client library and server framework already support type parameters. This is a very lightweight and pragmatic API spec. It’s not always a good idea to colocate your application model types, like User, with their respective API contracts.

  12. 12
    Article
    Avatar of thisdotThis Dot·4y

    Using Zustand in Your Next React Project

    We will be focusing on making API calls right from our Zustand store, and persisting state to either session or local storage. The project will be able to search for users, and get more information about a user. A link to the project repo can be found here. If you have any questions or run into any trouble, feel free to reach out on Twitter or Github.