Nichita Costromin - Backend Engineer | ContraWork by Nichita Costromin
Nichita Costromin

Nichita Costromin

Full-stack developer building tech that works.

Profile in progress

Nichita is building their profile!

Cover image for Just built a production ecommerce
Just built a production ecommerce backend from scratch. Stateless auth, role-based permissions down to the button, real-time order tracking, and an admin panel that actually scales: Stack: Next.js (API routes + SSR), Prisma ORM, Neon Postgres (serverless driver, connection pooling), JWT auth, AWS S3. 🔒 Auth & permissions: JWT with access/refresh token pair. Refresh rotation on every cycle. Access tokens are short-lived, never stored in localStorage. RBAC enforced at middleware. Roles are database entities, not hardcoded enums. Permissions are scoped to route + HTTP method + resource. A "manager" can edit products but can't touch user roles. An "operator" can update order status but can't delete inventory. ⌗ Data layer: Normalized Postgres schema. Orders, products, inventory, users, roles, and a dedicated order_status_history table. Every state transition is an insert, not an update. Full audit trail with timestamps and actor IDs. 🫙Storage: S3 with presigned URLs. Upload flow: client requests a signed URL from the API, uploads directly to S3, API stores the object key. No file ever passes through the server. 🏎️ Order tracking: Strict state machine. Pending > Confirmed > Processing > Shipped > Delivered. No state can be skipped. Cancellations branch from any pre-shipped state and trigger inventory rollback. Client polls for updates with optimistic rendering. 🛖 Infrastructure: Vercel for compute. Neon serverless for Postgres with edge-compatible driver. No persistent connection pool to manage. Scales to zero when idle, spins up in milliseconds.
0
7
Cover image for 👨‍💻 I built the storefront
👨‍💻 I built the storefront I'd actually want to buy from! You're paying for the traffic that never converts. Not because your product is wrong. Because your storefront breaks on the device 80% of your customers are using. They leave in 3 seconds. You lose the sale. Your competitor gets the revenue. This Next.js & TypeScript storefront was built mobile-first from line one. Blazing fast loads. Real-time search & filtering. A checkout flow with zero dead ends. Not a redesign. A rebuild. Every screen, every tap, every millisecond, optimised to sell. Converting client onboarding using the "Early Bird Card" promo - collecting emails & data for further offers. Let's build something bold like that together ;) 🤓 P.S: Go and try it yourself and drop me suggestions in the comments!
1
23
Cover image for Really want your opinion on this one! Just created this admi...
Really want your opinion on this one! Just created this admin panel reservation manager for this company. Here are some killer feature this panel has: - Built-in request limiter to prevent booking abuse and ensure fairness. - Custom token-based auth system with time-limited access for enhanced security. - Real-time table availability for instant, conflict-free bookings. - Intuitive admin panel for effortless reservation and staff management. Please let me know your opinion on this one!😁
1
63