Quick Programming
Published in

Quick Programming

Creating a Simple API with NextJS

Using our favorite JAMstack framework to create APIs!

Photo by Max Duzij on Unsplash

NextJS is quickly becoming a major framework for creating web pages that are either statically served, or server-side-generated. But a lot of websites would want to use APIs to retrieve data from databases on command and many other uses.

In this article, I will use NextJS to create a simple React web page, and I will use Axios…




Development-related articles.

Recommended from Medium

How nestjs can help me take my development skills to the next level

Avoiding CORS in Electron: Sending Requests through IPC

Have You Heard about ECMAScript 6? Find Out What’s New in JavaScript ES6 (Part 2)

Javascript higher order functions(map,forEach,filter);

Nodejs Authentication using JWT tutorial

Image Uploading With a React Frontend

Automating Discovery and Exploiting DOM (Client) XSS Vulnerabilities using Sboxr — Part 1

Improve the Performance of your Site with Lazy-Loading and Code-Splitting

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Always learning👨🏻‍🎓. I occasionally write about programming. Follow me on Twitter @0xmbvissers

More from Medium

Build Instagram login page with Next.js and TailwindCSS Part 5— Show/Hide password button

Complete email/password authentication with firebase-9 and nextjs.

Deploy your React App on Ubuntu VPS

Build an Instagram Feed UI Clone with React, Next.js and Tailwind CSS