DEV Community

Zarko Zivkovic
Zarko Zivkovic

Posted on AI-assisted

Building an AI Visibility SaaS in Six Days With Node.js, Express and Vanilla JavaScript

No React. No Next.js. No external database. No complicated deployment infrastructure.

Just Node.js, Express, vanilla JavaScript and a Linux VPS.

Between November 17 and November 23, I took Namedrop from its first working alpha to a publicly available SaaS product with payments, authentication, four AI engines, sentiment analysis, reporting, a Chrome extension and an MCP server.

The six days refer to the build itself. Market research, competitor testing and refining the idea happened beforehand.

The problem I wanted to solve

AI assistants are becoming another channel through which people discover and compare products.

But measuring that visibility is complicated.

Ask ChatGPT, Gemini, Claude and Perplexity the same question, and you'll often get different recommendations, different sources and different descriptions of the same product.

Ask the same engine again, and even that answer might change.

I wanted to build something that would make collecting, comparing and analyzing those answers easier without requiring another monthly subscription.

The technology stack

I deliberately kept the stack lightweight.

Component Technology
Frontend Vanilla JavaScript, HTML, CSS
Backend Node.js, Express 4
Data storage File-based JSON datastore
Page analysis Cheerio
Charts Inline SVG
Payments Paddle Billing
Authentication Google OAuth, email and password
Transactional email Resend
PDF generation PDFKit
Browser extension Chrome Manifest V3
MCP server Official MCP SDK, Zod
Hosting Ubuntu, nginx, Let's Encrypt

The application is a single-page app built with plain JavaScript. The landing page, pricing, documentation and changelog are rendered on the server.

There is no frontend framework.

That isn't a statement against frameworks. React, Vue and others solve real problems. But I didn't see enough benefit in introducing one for this particular application.

The same applies to the datastore. File-based JSON is sufficient for the current alpha, but it isn't necessarily the right long-term choice. Concurrency, data integrity and growing usage will determine when that architecture needs to change.

The interesting problem: AI answers aren't deterministic

Traditional rank tracking has a relatively straightforward unit of measurement: a keyword, a search engine and a ranking position.

AI visibility introduces a different problem.

An answer can mention your brand without recommending it. It can recommend your product while citing somebody else's website. It can cite your documentation while recommending a competitor.

And the next answer to the same question can be different.

Treating all of these outcomes as equivalent would produce misleading results.

Namedrop separates several dimensions:

  • Whether a brand appears in an answer.
  • Its position and recommendation.
  • Which competitors appear.
  • Which sources are cited.
  • The sentiment surrounding the brand.

Users can also run each question one, three or five times.

Five runs aren't enough to establish statistical certainty, but they provide more information than treating a single generated answer as a stable ranking.

Saved question sets can be rerun and compared against earlier results.

Sentiment needs evidence, not just a score

A positive or negative sentiment label is easy to display. Making it useful is harder.

Consider an AI-generated answer that recommends a product for its functionality but criticizes its pricing.

Is that positive or negative?

Namedrop supports positive, mixed, neutral and negative classifications, but also exposes the evidence behind them:

  • A short description of the praise or criticism.
  • The exact sentence from the answer.
  • The sources associated with that sentence.

The objective is to let users inspect the underlying evidence rather than blindly trust a classification.

Sentiment analysis also works on saved runs without requiring users to spend additional credits.

Building a prepaid credit system

I didn't want to build another subscription product.

Namedrop uses prepaid credits, and those credits never expire.

From an implementation perspective, that introduces its own requirements.

Different operations have different costs. Users need to understand those costs before running a check. Failed answers shouldn't consume their balance. Payments need to be reconciled with account credits.

The payment integration uses Paddle Billing, Paddle.js checkout and signed webhooks.

Failed answer checks automatically return the corresponding credits.

Repeat runs are discounted by 20%, encouraging users to compare results over time instead of treating their first check as a definitive answer.

A prepaid system also changes the product's relationship with its users. Someone can run an audit today, disappear for three months and return without having paid for anything in between.

Page audits: not every page has the same job

The second major component is a page citability audit.

It analyzes how easily AI assistants could read, understand, trust and quote a page.

The HTML parsing uses Cheerio, and the audit criteria vary depending on the page type:

  • Homepage
  • Article
  • Product page
  • Comparison page

A comparison page shouldn't necessarily be evaluated using the same criteria as a homepage.

The audit returns a score and prioritized recommendations.

Importantly, this is a diagnostic assessment, not a guarantee that an AI engine will cite the page. Actual citation behavior needs to be measured separately.

Two additional interfaces: Chrome and MCP

I didn't want every interaction with Namedrop to require opening its dashboard.

Chrome extension

The Chrome extension uses Manifest V3 and plain JavaScript.

It allows users to audit the page they're currently viewing and check whether AI assistants cite it.

For someone reviewing a website, that removes the need to repeatedly switch between browser tabs and copy URLs.

Model Context Protocol

The MCP integration takes this a step further.

It allows compatible AI assistants to run visibility checks, perform page audits and retrieve results directly within a conversation.

The server uses:

  • The official MCP SDK.
  • Streamable HTTP transport.
  • Zod schemas.
  • OAuth 2.1 with PKCE.
  • Dynamic client registration.

Users approve a spending limit, which matters when an assistant can initiate operations that consume prepaid credits.

The MCP integration effectively turns Namedrop from a standalone dashboard into a capability that can participate in larger research and analysis workflows.

What shipped in six days

Date Release Main additions
Nov 17 Alpha 0.1 Answer checker, page audits, prepaid credits
Nov 19 Alpha 0.2 Payments, page-specific audits, authentication, failed-check refunds
Nov 20 Alpha 0.3 Redesigned interface, PDF reports, CSV exports
Nov 21 Alpha 0.4 Repeatable checks, saved runs, Google login, gift codes
Nov 22 Alpha 0.5 Projects, sentiment analysis, trend charts, Chrome extension, MCP
Nov 23 Alpha 1.0 Public launch

The full changelog is public:

https://namedrop.coreaex.com/changelog

What six days doesn't mean

It doesn't mean the product is finished.

It doesn't mean the architecture has been validated at scale.

And it certainly doesn't mean that market research, security, testing and maintenance have become unnecessary.

AI-assisted development makes it considerably easier to implement ideas quickly. It doesn't automatically make those ideas good, nor does it remove the need to verify what has been built.

The interesting challenge now is deciding which features deserve further investment, which architectural decisions need revisiting and which things users don't actually need.

I've already made changes based on community feedback, and I expect that process to continue.

Launching today

Namedrop is publicly available and launching on Product Hunt today.

New accounts receive 25 free credits, and there's no subscription.

I'd be particularly interested in hearing from other developers who have shipped commercial products using lightweight stacks and AI-assisted development.

Has AI changed your architectural choices, or has it simply made it easier to build increasingly complicated things?

And at what point do you decide that your intentionally simple architecture is no longer simple enough to maintain?

Top comments (9)

Collapse
 
userxnom profile image
Abdullah Naseer •

The sentiment section is the part I would have underlined. A bare positive or negative label is easy to display and almost useless on its own — exposing the exact sentence and its sources is what lets a user check the label instead of trusting it. That is the same instinct as running each question one, three or five times: you are treating a single AI answer as a sample, not a verdict.

On your closing question, for me AI-assisted building has mostly made it easier to keep the architecture simple, because the boilerplate is cheap and the temptation is to add the complex part anyway. The file-based JSON datastore is a good example — it stays simple until two things collide, like concurrent writes or the credit accounting around failed-check refunds needing real transactions. That collision, not a feature count, is the point where I would say it is no longer simple enough.

Collapse
 
zarko_zivkovic_1c91189c35 profile image
Zarko Zivkovic •

I really like how you put that, the collision, not the feature count, determines when the architecture needs to change.

I'm deliberately keeping things simple during alpha, but credit accounting and concurrent writes are exactly the areas where simplicity can't come at the expense of reliability.

And yes, sentiment without evidence is essentially asking users to trust another layer of AI interpretation. I'd rather give them something they can challenge and verify themselves.

Collapse
 
robertpaschal profile image
Odinaka Robert Nnamani •

Six days and no database is a bold way to ship. How are you checking the sentiment numbers before they go out?

Collapse
 
zarko_zivkovic_1c91189c35 profile image
Zarko Zivkovic •

Haha, the database decision might come back to haunt me eventually!

For sentiment, the idea is to make every classification inspectable. Users get the label, the exact sentence behind it, a summary of the praise or criticism, and the associated sources.

That makes the classification auditable, but it doesn't automatically make it accurate. I'm particularly interested in validating mixed sentiment, where an engine recommends a product while criticizing specific aspects of it.

Collapse
 
robertpaschal profile image
Odinaka Robert Nnamani •

Showing the sentence behind the label makes it checkable. Mixed sentiment is where that setup gets tested, praise and criticism in one review pull in opposite directions.

Thread Thread
 
zarko_zivkovic_1c91189c35 profile image
Zarko Zivkovic •

Exactly. A recommendation with a caveat about pricing is very different from a recommendation with a caveat about reliability, even though both could be classified as mixed sentiment.

I'm increasingly interested in measuring sentiment at the product attribute level rather than just the brand level. That would make the findings considerably more actionable.

Thread Thread
 
robertpaschal profile image
Odinaka Robert Nnamani • • Edited

Attribute level is the right call. A product can be loved and its price hated in the same review, and one label hides both.

Collapse
 
natureai profile image
Nature AI •

When using a file-based JSON datastore under concurrent writes, implementing a locking mechanism or queuing writes can prevent data corruption and race conditions, which is critical before scaling beyond alpha. This approach helps maintain reliability without immediately moving to a full database system.

Collapse
 
zarko_zivkovic_1c91189c35 profile image
Zarko Zivkovic •

Agreed, credit deductions and failed-check refunds are exactly where overlapping updates would matter. The important test is whether concurrent requests can lose an update, even if the JSON file itself remains readable.

Keeping the stack lightweight helped me ship quickly, but data integrity needs to hold from the start. That’s a useful distinction between protecting the file and protecting the operations happening around it.