₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,346,227 members, 8,521,862 topics. Date: Friday, 20 November 2026 at 07:43 AM

Toggle theme

Who Has Built An API From Scratch Before? - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › Who Has Built An API From Scratch Before? (482 Views)

1 Reply (Go Down)

Who Has Built An API From Scratch Before? by davidaluu(op): 2:55pm On Jul 19
Most of us devs have integrated an API
(application programming interface) in our applications one way or another for faster time to market or functionality. APIs for things like weather, AI, like Openai, Google Maps or Stripe for payments.
How many of us have actually tired to build one out before? That's what I'm currently working on. Building out my own API for a particular use case. Let me know if you've built an API yourself and the reason why and probably also the tech stack used. Let's connect

Re: Who Has Built An API From Scratch Before? by Stephen0mozzy: 4:33pm On Jul 19
It's called full stack development 😁.
I built my first API using ExpressJS + MongoDB. I've explored flask too and Django just passively.
Re: Who Has Built An API From Scratch Before? by davidaluu(op): 6:44pm On Jul 19
So you'd say python is the better tech stack choice then? Thinking of using it too but with FastAPI framework. Already built projects with it
Stephen0mozzy:
It's called full stack development 😁.
I built my first API using ExpressJS + MongoDB. I've explored flask too and Django just passively.
Re: Who Has Built An API From Scratch Before? by Stephen0mozzy: 7:22pm On Jul 19
I'm always in favor of JavaScript ecosystem. But for core python devs, they'll not chose any other language stack.
Re: Who Has Built An API From Scratch Before? by davidaluu(op): 8:57pm On Jul 19
Favor of JavaScript for web applications in general yes but for APIs, python is actually the industry standard. That's what the big dogs actually use
Stephen0mozzy:
I'm always in favor of JavaScript ecosystem. But for core python devs, they'll not chose any other language stack.
Re: Who Has Built An API From Scratch Before? by Stephen0mozzy: 9:24pm On Jul 19
davidaluu:
Favor of JavaScript for web applications in general yes but for APIs, python is actually the industry standard. That's what the big dogs actually use
Python industry standards keh. Or you Mean Java and .NET - JavaScript (ExpressJS/NestJS) even have higher popularity in the API world than python.
Re: Who Has Built An API From Scratch Before? by davidaluu(op): 12:38am On Jul 20
For building APIs, I still prefer python. And most companies even OpenAI use it for their API infrastructure, Ruby is a close second.
Stephen0mozzy:
Python industry standards keh. Or you Mean Java and .NET - JavaScript (ExpressJS/NestJS) even have higher popularity in the API world than python.
Re: Who Has Built An API From Scratch Before? by Kaczynski: 1:59pm On Jul 20
I built one for FRSC that tracks vehicle plate numbers in real time with PHP.
Re: Who Has Built An API From Scratch Before? by davidaluu(op): 2:01pm On Jul 20
That's cool, is it still functional till date? How long did it take to build?
Kaczynski:
I built one for FRSC that tracks vehicle plate numbers in real time with PHP.
Re: Who Has Built An API From Scratch Before? by Kaczynski: 2:07pm On Jul 20
davidaluu:
That's cool, is it still functional till date? How long did it take to build?
No. FRSC took down site because of hosting bills and other issue.


3 months .
Re: Who Has Built An API From Scratch Before? by Stephen0mozzy: 6:43pm On Jul 20
Kaczynski:
I built one for FRSC that tracks vehicle plate numbers in real time with PHP.
I'm curious how you built this Chief. I'm not aware we have traffic cameras that transmit to any government database..

So if you say you're tracking plate number, it literally means you're tracking the vehicle.

Did you guys add sensors to the plates that transmit to satellite - this i doubt.

Enlighten me Sir
Re: Who Has Built An API From Scratch Before? by Kaczynski: 6:58pm On Jul 20
Stephen0mozzy:
I'm curious how you built this Chief. I'm not aware we have traffic cameras that transmit to any government database..

So if you say you're tracking plate number, it literally means you're tracking the vehicle.

Did you guys add sensors to the plates that transmit to satellite - this i doubt.

Enlighten me Sir
FRSC has a database of existing and new plate numbers. After you get a plate number assigned to your vehicle, that plate number is already included in their database.


All one needs to do is get a plate number and input it in the website which returns the details of owner whats on your drivers license.
Re: Who Has Built An API From Scratch Before? by Alphabyte3: 7:01pm On Jul 20
Stephen0mozzy:
I'm curious how you built this Chief. I'm not aware we have traffic cameras that transmit to any government database..

So if you say you're tracking plate number, it literally means you're tracking the vehicle.

Did you guys add sensors to the plates that transmit to satellite - this i doubt.

Enlighten me Sir
You only need ANPR/LPR cameras with encrypted IP protocols, like those from China or US. They include built-in maps, geolocation, and triangulate data to a central command center. Satellites aren’t required, just an internet connection. I think what he built is just a checker.
Re: Who Has Built An API From Scratch Before? by Stephen0mozzy: 7:08pm On Jul 20
Alphabyte3:
You only need ANPR/LPR cameras with encrypted IP protocols, like those from China or US. They include built-in maps, geolocation, and triangulate data to a central command center. Satellites aren’t required, just an internet connection. I think what he built is just a checker.
Phew! That's a lot of tech the FRSC will not invest in 😅. You're right, he has clarified that he built a plate number checker.
Re: Who Has Built An API From Scratch Before? by Stephen0mozzy: 7:09pm On Jul 20
Kaczynski:
FRSC has a database of existing and new plate numbers. After you get a plate number assigned to your vehicle, that plate number is already included in their database.


All one needs to do is get a plate number and input it in the website which returns the details of owner whats on your drivers license.
Okay Chief - as you say "Real-time" i dey reason you dey know the position and location of every plate number per time.
Re: Who Has Built An API From Scratch Before? by Alphabyte3: 7:11pm On Jul 20
Stephen0mozzy:
Phew! That's a lot of tech the FRSC will not invest in 😅. You're right, he has clarified that he built a plate number checker.
Only few areas in Nigeria has commands centers those places are secured . The projects it will cost $10B + which is too expensive for some states
Re: Who Has Built An API From Scratch Before? by davidaluu(op): 8:38pm On Jul 20
still must have been a cool experience tho I mean for a government agency, it's no small feat
Kaczynski:
No. FRSC took down site because of hosting bills and other issue.


3 months .
Re: Who Has Built An API From Scratch Before? by Alphabyte3: 2:06pm On Jul 24
Look at what I built it is still in development it cover a whole country.

Re: Who Has Built An API From Scratch Before? by d3inma: 3:31pm On Jul 26
I’ve built an API from scratch recently, but not the usual REST or GraphQL style, it was an MCP‑based server designed for autonomous AI agents. The interesting part wasn’t just exposing endpoints, but designing the API around agent behavior, tool invocation, and verifiable execution.

A few things stood out during the build:

1. Designing the API around intent, not just routes
Agents don’t think in terms of “GET /users” or “POST /tasks”.
They think in terms of capabilities.
So the API had to expose tools like search_agents, invoke_agent, and verify_proof instead of traditional endpoints.

2. Authentication becomes more important than routing
We used OAuth 2.1 + PKCE because agents often run unattended.
The API needed a way to issue short‑lived tokens and enforce strict scopes.

3. Verifiable results matter
Instead of returning plain JSON, the API signs results using Ed25519.
That way, any client can independently verify that the output wasn’t tampered with.

4. Remote + local transport
The API supports both:

local stdio (for dev tools like Claude Desktop)

remote HTTP streaming (for production environments)

It’s a different mindset from building a typical REST API, but the fundamentals, routing, auth, error handling, and documentation — still apply.

If you’re curious, the server is open‑source here:
https://github.com/forcedreamai/forcedream-mcp

Happy to share more about the stack or design decisions if you’re exploring similar ideas.

Re: Who Has Built An API From Scratch Before? by tanigororo: 3:37pm On Jul 26
davidaluu:
Most of us devs have integrated an API
(application programming interface) in our applications one way or another for faster time to market or functionality. APIs for things like weather, AI, like Openai, Google Maps or Stripe for payments.
How many of us have actually tired to build one out before? That's what I'm currently working on. Building out my own API for a particular use case. Let me know if you've built an API yourself and the reason why and probably also the tech stack used. Let's connect
I developed a PHP frameworks sometimes ago, it's on GitHub. Google for Phplite, it was meant to be a light PHP frameworks for building API.
Re: Who Has Built An API From Scratch Before? by Revealpanda: 7:24am On Jul 28
Kaczynski:
No. FRSC took down site because of hosting bills and other issue.


3 months .
At least lie with dignity.

FRSC and hosting bills in same sentence?

Government companies will definitely pay for years of hosting and not for months.. plus what U did was copy and paste a plate number check which has free open source repository everywhere on GitHub
1 Reply

A Nigerian Student Has Built An AI Text-to-speech Model That Sound Like Nigerian • Saheed Azeez Created 2 Million GPT Tokens, Built An AI, YarnGPT • Who Has Built An Angular App • 2 • 3 • 4

Web Hooks And Nigeria Outdated Technology • Do You Need Any Udemy,lynda Or Pluralsight Course • My Facebook Account Is Disabled Please Help