Skip to content

Create Product API using FastAPI #19

Description

@Prabakaran202

Objective

Create a new Product API for BDH backend service.

Task Details

  • Create Product schema using Pydantic
  • Link schema with APIRouter
  • Add POST /products endpoint
  • Include router in main.py
  • Test API using Swagger UI

Acceptance Criteria

  • API should accept product name and price
  • Proper request & response schemas must be used
  • API should be visible in /docs

Status

  • Schema created
  • Router created
  • Main.py updated
  • API tested

Notes

This issue is part of backend API development practice for BDH.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions