Skip to main content

5 posts tagged with "serverless"

View All Tags

What is an API and REST API? A Practical Guide for Developers

· 9 min read
Jones
Co-Founder and Architect @ Codehooks

But what exactly is an API, and how does it differ from a REST API? These terms are often used interchangeably, but there's an important distinction that every modern developer should understand.

In this post, you'll learn everything about the API and REST API domain—from core concepts and key differences to the fascinating history of how REST and JSON became the web's integration standard. We'll explore why REST APIs dominate today's development landscape, compare different backend service models, and finally show you how to build your own APIs in practice using Codehooks.io.

How to Use ChatGPT to Build Node.js Backend APIs: Step-by-Step Guide with Codehooks.io

· 15 min read
Martin
Co-Founder and Maker @ Codehooks

ChatGPT, GitHub Copilot, Cursor and other AI tools using Large Language Models (LLMs) can quickly generate a lot of code, but quite often the process is not straightforward and requires many iterations and a skilled developer to get the best results.

In this article we will show how a well-structured prompt can improve the AI-supported development effort.

How to create a Node.js REST API backend using ChatGPT and codehooks.io

· 7 min read
Martin
Co-Founder and Maker @ Codehooks

ChatGPT and other advanced AI language models have become an integral part of the modern development workflow. From GPT-4 to Claude and other competitors, these AI assistants have transformed how we approach coding and content creation. And we understand why! These AI models have proven themselves invaluable for producing all kinds of text and code, helping developers work more efficiently and creatively than ever before.

While modern AI models are now well-versed in a wide range of technologies and frameworks, we've found that providing concrete examples still leads to the best results. This approach helps the AI understand exactly how we want to use codehooks.io's specific features and conventions, ensuring the generated code follows our best practices.

Build a random quotes API using serverless JavaScript and a NoSQL database

· 9 min read
Jones
Co-Founder and Architect @ Codehooks

API's, Microservices and JavaScript are the digital glue of the modern Internet.

This blog post shows how you can build a fast serverless API for a large data set. We'll use a 144MB file with 500K famous quotes to create an efficient NoSQL datastore using code hooks. We'll build and deploy a public serverless API to serve random quotes from the NoSQL database to clients.

socialcard