5AbhishekSaxena / 5AbhishekSaxena/bms

Add endpoint to save a new hospital.

未关闭 适合新手
#1 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement good first issue
主要语言
Java
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

Constraints
- It should have `POST` mapping.
- It should return the `CREATED` status.
- It should return the newly created Hospital.

贡献指南

这个仓库没有索引到贡献指南

调研方向

查找现有的 controller 类,这些类负责处理与医院相关的 endpoint,可能位于类似 `controller` 或 `web` 的 package 中。创建一个新的 POST 映射方法,接收一个 Hospital 对象,通过 service 或 repository 保存该对象,并以 HTTP status 201 返回该对象。检查现有的测试以了解其模式,并在实现后运行这些测试。

由索引模型根据 Issue 内容生成。

评估

领域
api, backend
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
75/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。