adhikareeprayush / adhikareeprayush/slide-forge

Implement Auth.js with GitHub OAuth

未關閉
#23 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
api auth feature frontend help wanted
主要語言
TypeScript
星號
0
分支
3
PR 合併指標
30 天內沒有已合併 PR

描述

## Summary
Auth is planned but not implemented — no `users` table, no auth middleware, no login routes.

## Tasks
- [ ] Add `users` table and `decks.user_id` foreign key
- [ ] Auth.js in `apps/web` with GitHub provider
- [ ] JWT or session validation middleware in `apps/api`
- [ ] Scope deck CRUD to authenticated user
- [ ] Document `AUTH_*` env vars in `.env.example`

## Files
- `apps/api/src/db/schema.ts`
- `apps/web/app/`
- `.env.example`
- `implementation_plan.md` (reference)

貢獻指南

開啟貢獻指南

研究方向

Start with implementation_plan.md, then inspect apps/api/src/db/schema.ts, apps/web/app/, and .env.example to understand the planned authentication boundaries. Confirm how API CRUD routes and deck ownership are currently exposed before implementing the checklist. Done means GitHub sign-in works, authenticated users are validated and limited to their decks, the schema supports ownership, and AUTH_* variables are documented.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
github, typescript
領域
authentication, backend, database, documentation, frontend
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
冷清
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。