How to Fetch Data from an API in Angular

The Dad Jokes App: Spreading Laughter One Click at a Time Humor has a unique way of brightening up our day and creating moments of joy. In the digital age, countless apps cater to various interests, and one app that stands out is the Dad Jokes App. This lighthearted application brings a collection of witty and groan-inducing dad jokes to your fingertips, ensuring laughter is just a click away. In this article, we’ll explore the features and development of the Dad Jokes App and its impact on users’ daily lives. ...

May 29, 2023 · 5 min · Chris Achinga

Building Scalable, Secure, and Feature-Rich Apps with Appwrite: A Technical Overview

Appwrite is an open-source, end-to-end Backend-as-a-Service (BaaS) platform designed to simplify the process of building web and mobile applications. %[https://appwrite.io/] Core Components of Appwrite User Authentication and Management Appwrite offers built-in user authentication and management services, supporting multiple authentication methods such as email and password, OAuth2 providers (e.g., Google, Facebook), and more. It also provides APIs for user registration, login, password recovery, and session management. This simplifies the implementation of secure user management in your app. ...

March 24, 2023 · 5 min · Chris Achinga

How to Test APIs on Mobile using API Tester

Imagine testing APIs using your mobile device, either iPhone or Android. All APIs, including REST, GraphQL, WebSocket, SOAP, JSON RPC, XML, HTTP, and HTTPS. This article will show how we can test APIs on mobile devices using API TESTER. Prerequisites API TESTER Mobile Application Ready to Use API endpoints The API TESTER application is freely available for the following devices: iOS: Download Link Android: Download Link Huawei: Download Link This article will use demo API endpoints from JSONPlaceholder, which offers free fake REST API. ...

November 29, 2022 · 3 min · Chris Achinga

How to Create A Simple API: ExpressJS

Express JS is a backend framework that runs on Node JS. It really comes in handy when creating backend microservices for our applications. I will take you through simple steps in creating a simple API with Express. Installing dependencies This should be the simplest of all: On the project root, open up your terminal/CMD and install express using the following command: npm install express Create a server file While still on the root of your project, create a JavaScript file; app.js ...

August 3, 2021 · 2 min · Chris Achinga

GitHub REST API

Most of us use GitHub services frequently if not on a daily basis. If you are a student, GitHub offers student packages with great tools and freebies you could use. Check my article on Github’s Developer Pack for students. In this article, I will take you through using GitHub REST API to display your repos on your portfolio website. I will use postman to test the API. GitHub REST API Documentation. Playing With The API I’ll use postman to show you what the API can offer for your own personal use. For this, I’ll be using the endpoint to fetch a user’s repositories. ...

July 15, 2021 · 3 min · Chris Achinga

How To Display JSON data on an HTML page using Vanilla JavaScript

This is a hands-on code tutorial on how to fetch data using plain JavaScript and Displaying data on a simple HTML web page. When creating websites, there is a possibility that you’ll be getting data from an API. The data is in JSON, in most cases. How do I display the JSON is my HTML page using vanilla JS? Let’s do that in a few steps. JS has a built-in function called .fetch() that is used to ‘fetch’ data from external files or resources. ...

May 28, 2021 · 5 min · Chris Achinga

Getting Started With strapi

Using Strapi https://strapi.io/ What is Strapi Strapi is a headless CMS A headless content management system, or headless CMS, is a back-end-only content management system that acts primarily as a content repository. A headless CMS makes content accessible via an API for display on any device, without a built-in front-end or presentation layer A list of headless cms - https://jamstack.org/headless-cms/ Creating a simple blog CMS with strapi Setup strapi project: Requirements Need to have nodejs(Version 10 and above) and npm. ...

May 10, 2021 · 4 min · Chris Achinga

How I made my first website using an API 😎

A year ago, I was struggling with using APIs to creating a simple website. After some tutorials online I made a simple website that displays the statistics for covid-19. It is not a fancy or unique site, but it did its purpose, TEACH. Which API did I use? I used coronavirus-monitor from Rapid API platform. The API returns an array of countries with average statistics on the number of total infections, deaths, number of people in critical conditions, and number of people recovered. (and many more) ...

March 23, 2021 · 3 min · Chris Achinga