Next.js Storefront Node.js Backend Development

Job ID: 40588056

Budget: ₹1,500 – ₹12,500 INR

I already have a fully-functional storefront built with Next.js; what I now need is the server side that will let the shop go live. You’ll be looking at the existing front-end codebase, defining the API contracts it expects, and then building a clean Node.js backend that connects to MongoDB.

Core features to implement are user authentication (JWT or similar, with refresh-token flow) and order processing that can handle cart submission through to final confirmation. All routes should return clear JSON responses, and any errors must follow a consistent format so the React hooks I’ve written can surface them gracefully. While product management endpoints might come later, they’re out of scope for this phase, so the focus is tight: auth and orders.

I lean toward Express with Mongoose, but if you can justify another lightweight framework or an ODM alternative, I’m open to it as long as the final result deploys easily on a standard Node hosting service.

Deliverables
• Complete Node.js project folder, ready to run with npm start
• .env.example containing every configurable variable
• Postman (or Insomnia) collection demonstrating each endpoint working against MongoDB
• Brief README explaining architecture choices, setup, and how the front end should call each route
Acceptance criteria
• Front-end builds and runs locally with your backend and shows no network errors
• New users can register, log in, receive tokens, and place an order that is persisted in MongoDB
• Code is clean, commented, and passes eslint –fix without issues

If this sounds straightforward to you, let’s get started—I can share the repo the moment we agree.