CPlanet Ecommerce Platform

Next.js and Go ecommerce with PostgreSQL, automated deployments, and search-friendly product pages.

By Nirdesh Pokharel · Backend Software Engineer

Read as Markdown

Architecture

Next.js → Go → PostgreSQL; GitHub Actions → GHCR → Docker → Nginx / Cloudflare

Problem

An ecommerce platform needs a storefront and backend, together with a repeatable way to deploy changes and make product pages discoverable.

Implementation

The platform uses Next.js for the frontend, Go for the backend, and PostgreSQL for data. Docker packages services for staging and production environments.

Production ownership

Implemented deployment workflows with GitHub Actions and GHCR, using Nginx and Cloudflare in front of the application. Worked on canonical URLs, product structured data, and sitemap improvements.

Validation

Used k6 for API performance testing. No throughput or latency figures are claimed here without a reproducible benchmark and its environment.

Delivery flow

GitHub Actions and GHCR form the build and image-distribution portion of the deployment workflow. Docker runs the application services in staging and production, with Nginx and Cloudflare handling the public-facing layer. The Next.js storefront talks to a Go backend backed by PostgreSQL.

Search architecture

The implementation work includes canonical URLs, product structured data, and sitemap improvements. These serve different purposes: canonicals identify the preferred URL, structured product data describes visible product facts, and the sitemap helps crawlers discover pages. None of these replaces useful, accessible page content.

Performance interpretation

k6 was used for API testing. Meaningful comparisons require the scenario, concurrency, data volume, environment, error rate, and latency distribution to be recorded together. This note does not attribute an unsupported latency improvement or throughput target to that work.

Operational review priorities

Deployment review should cover configuration differences between staging and production, database compatibility across releases, health checks, and rollback procedures. Those are the next details to document; the available project summary does not establish a specific rollback or migration strategy.

More engineering notes

Contact

nirdeshpokhrel29@gmail.com