bangumi / bangumi/server

[Feature Request]: 日志

Open
#192 26 comments 0 reactions 0 assignees View on GitHub
enhancement tier 2
Dominant language
Go
Stars
679
Forks
77
Avg merge
12m
Merged PRs (30d)
7

Description

关联到 https://github.com/bangumi/dev-docs/issues/1 的 [Stage 2](https://github.com/bangumi/server/projects/3)

SQL Schema:

* https://github.com/bangumi/dev-env/blob/master/un-processed/chii_blog_comments.sql
* https://github.com/bangumi/dev-env/blob/master/un-processed/chii_blog_entry.sql
* https://github.com/bangumi/dev-env/blob/master/un-processed/chii_blog_photo%20(2).sql

模块:

1. 枚举日志
a} 在 /user/{uid}/blog 中枚举
b} 在 /{category}/blog 中枚举

与仅好友可见相关功能

2. 新增日志 /blog/create
3. 修改日志 /blog/{id}/edit
4. 删除日志 /erase/entry/{id}
5. 展示日志 /blog/{id}

Contributor guide

Open the contributing guide

Research direction

Read the three referenced schemas: chii_blog_comments.sql, chii_blog_entry.sql, and chii_blog_photo (2).sql. Then trace the requested entry points for listing blogs, /blog/create, /blog/{id}/edit, /erase/entry/{id}, and /blog/{id}. Done means these operations work with the specified friend-only visibility behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sql
Domain
api, backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.