
Naslook
Marketplace for services, products and offers in Saudi Arabia.
Software EngineerContractRemoteOct 2024 – Dec 2024
Highlights
- Built the backend on Cloudflare Workers (Hono, D1, Drizzle, R2): 49 OpenAPI-documented endpoints, session auth with scrypt and OTP reset, a wallet with an atomically written transaction history, and a typed React and Mantine admin dashboard generated from the spec.
- Hono on Cloudflare Workers with D1 through Drizzle (12 tables, 28 migrations): every route is defined with Zod schemas that also produce the OpenAPI spec and Scalar docs, with structured request logs through hono-pino.
- Session auth with opaque tokens that expire after 30 days and renew when under 15 days remain, scrypt password hashing, and a password reset with a six-digit OTP that expires after five minutes.
- Wallet deposits, transfers and withdrawals, each written together with its transaction record in one atomic D1 batch, and a KYC upload of the ID card and a selfie to R2 that marks the account as pending verification.
- A React and Mantine admin dashboard on TanStack Router, Query and Form, with its API client, types and query hooks generated from the OpenAPI spec; an Arabic and English landing page on Docusaurus.
- Wrangler environments for dev, stage and prod, each with its own R2 bucket, and a GitHub Actions pipeline that lints, type-checks and deploys on every push to main.
Technologies
TypeScript
Cloudflare Workers
Hono
Drizzle
SQLite
- OpenAPI
React.js
TanStack
Mantine
