---
title: "OpenShop Product API"
url: "https://ridwaanhall.com/projects/openshop-product-api"
markdown: "https://ridwaanhall.com/projects/openshop-product-api.md"
summary: "A RESTful product API built with Django REST Framework."
---

# OpenShop Product API

> A RESTful product API built with Django REST Framework.

- Category: API
- Status: Completed
- Started: June 13, 2025
- Built with: Django, Python, Nginx, Django REST Framework
- Source: https://github.com/ridwaanhall/a743-backend-pemula-python

## About

### The problem

Many example product APIs stop at basic CRUD and skip the details a real client depends on: discoverable navigation, safe deletion and correct status codes.

### The approach

I built a product API with Django REST Framework that treats those details as requirements, served behind Nginx.

- Full CRUD and search by product name.
- HATEOAS links so clients can navigate resources without hard-coding URLs.
- Soft delete, input validation and correct HTTP status codes.

### The result

OpenShop is a clean, production-shaped reference for building REST APIs in Django that behave predictably for the clients consuming them.

## Features

- **Full CRUD**: Create, read, update, and delete products with ease.
- **Search by Name**: Find products by name with a clean query.
- **HATEOAS Links**: Navigate resources with embedded API links.
- **Soft Delete**: Mark products as deleted without losing data.

## Tags

API, E-commerce, Product Management, Django, Django REST Framework, Python, CRUD, HATEOAS, Soft Delete, Backend, Dicoding

## Elsewhere

- This page for people: https://ridwaanhall.com/projects/openshop-product-api
- Index of every page as Markdown: [llms.txt](https://ridwaanhall.com/llms.txt)
