Senior Backend Engineer (TypeScript, NestJS, AI-assisted)
Description
Remote, Pakistan · Full-time contract · Paid monthly in USD
About the role
We're hiring a senior backend engineer who ships production code with AI tools every day and has the architecture judgment to keep that code sound. You'll be the second senior engineer on our backend, working alongside our lead engineer to move our older backend services into one modular NestJS platform.
DopeTech builds the mobile apps, websites and online ordering for licensed US cannabis retailers. Our platform is TypeScript end to end, and it connects every storefront to the retailer's point-of-sale and loyalty systems in real time. Stores take orders through it every day, so the migration has to happen with no downtime.
Hours: You work US Pacific business hours (about 11pm to 8am Pakistan time) and join the team's weekend on-call rotation.
What you'll do
- Plan and lead the migration of existing backend modules into our object-oriented, plugin-based NestJS architecture, one module at a time.
- Design each module: boundaries, data model, API surface and security, written up before the code.
- Ship fast with AI coding agents, and own every line they write: review it, test it, and fix what they get wrong.
- Keep live systems running while traffic moves: data compatibility, parity checks, and a cutover and rollback plan per module.
- Build and harden integrations with third-party retail systems: sync, orders, pricing and loyalty.
- Enforce multi-tenant isolation and authentication at the framework layer, not by hand in each feature.
- Review pull requests in depth for correctness and security, and mentor the engineers working with you.
- Back up our lead engineer on incidents, releases and architecture decisions.
What we're looking for
You can design a backend module from a blank page, defend every boundary in it, and ship it quickly with AI. Must-haves:
- Shipping with AI: you use AI coding agents (Claude Code, Cursor or similar) as your main way of working. You write clear specs for them, review their output critically, and know where they go wrong.
- TypeScript: strict typing, generics, and async Node.js you understand all the way down.
- Object-oriented design: a deep, practical command of OOP and design patterns (strategy, adapter, factory, template method, dependency inversion), and SOLID in real code. Our codebase is object-oriented, not functional.
- Plugin architecture: you have designed systems where features and integrations plug in behind a shared interface, so a new one is added without touching the core.
- NestJS in production: modules and dependency injection, guards, interceptors, pipes and custom decorators.
- MongoDB with Mongoose: schema and index design, aggregation pipelines, reading query plans, and safe data migrations.
- GraphQL API design: code-first schemas, resolvers, batching with DataLoader, and changing a schema without breaking clients.
- Multi-tenant architecture: where tenancy is enforced, and how to keep one customer's data out of another's reach.
- Authentication: JWTs, sessions, refresh-token rotation and revocation, and API keys.
- Large migrations: you have moved a live system to a new architecture step by step, without downtime.
- Integrations: idempotency, retries, rate limits, webhooks, and syncing with an external system of record.
- Testing: Jest, and integration tests against a real database, not only mocks.
- Written English: you write specs, reviews and incident notes a US team can act on.
We expect around 6 years of backend experience, including 2 or more building NestJS services in production. What you can show us matters more than years.
Nice to have
- Retail or e-commerce integrations: point-of-sale, loyalty, payments.
- Cart, pricing and discount logic: promotions, rewards, tax, and quote-then-order flows.
- Docker, Kubernetes, AWS and CI/CD pipelines.
- Experience in the cannabis industry.
- A small-team background where you shipped features end to end and supported them in production.
How we work
- AI-native: the whole team builds, reviews and releases with AI coding agents.
- Small and senior: you work directly with the lead engineer and ship features end to end.
- Clear tickets: every change starts from a ticket with a user story and acceptance criteria.
- Staged releases: changes move through staging and UAT before a production release.
- Real reviews: every pull request is reviewed in depth for correctness and security before it merges.
Compensation
Competitive, paid monthly in USD. Share your expected monthly rate in the application.
Hiring process
- Intro call (30 min): the role, the work ahead, and your background.
- Architecture interview (60 min): walk us through a system you designed, then design a NestJS module for a real-world feature with us, choosing the OOP patterns and plugin boundaries.
- AI build exercise (paid, flat $100): build a small feature in a TypeScript, NestJS and Mongoose starter using the AI tools you normally use, then walk us through what you kept, changed and rejected.
- Team call (45 min): meet the people you'd work with.
- Offer.
Skills
Sign in to read and join the discussion.