Lets Count API
A simple, powerful REST API for managing counters — built for developers who need to track anything that counts.
Note: this project is no longer live.
Lets Count API lets you quickly create, update, increment and decrement counters — via a simple REST API or UI dashboard. There are lots of times when you need to track numbers in your apps and automated workflows, and this tool means you don't need to rebuild this functionality from scratch or maintain a database.
Key features
- A simple REST API with token-based authentication
- Supports analytics, metrics, feature flags, and event tracking
- User account signup / login
- Stripe integration with tiered pricing plans
Tech used
- Built and hosted entirely on Replit
- Node.js + Express for the API layer
- PostgreSQL for persistent counter storage
- Drizzle ORM for type-safe database access
- React + Vite for the marketing site and docs
The story
Before Replit Agent was even a thing, I decided I wanted to build a simple API tool. Initially, this was built with ChatGPT doing the coding, which I'd then copy over to Replit. I would then copy back any error messages to ChatGPT — repeating this loop for about 10 hours until it was working.
The first version was very basic — a free API, no authentication, no user accounts and a very simple docs page. When Replit Agent was released, I had it redevelop the site with a better design, better security, and I implemented the new (at the time) Replit Auth feature so people could sign up and manage their counters in a dashboard.
A few months later, when Replit Agent 4 was released, it went through one final refactoring. I added Stripe (free trial + yearly subscription), hardened the security even further with Replit's Security Scan feature, added an MCP and SDK and also built some free tools — word counter, score keeper etc — to help with SEO and marketing.