mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-22 08:35:27 -04:00
[PR #21] [MERGED] Implemented News Frontend and Backend #170
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Drop-OSS/drop/pull/21
Author: @AdenMGB
Created: 2/1/2025
Status: ✅ Merged
Merged: 3/9/2025
Merged by: @DecDuck
Base:
develop← Head:develop📝 Commits (10+)
97b9b6dMerge pull request #20 from AdenMGB/develope7837affeat(news): added ability to delete news articles866c4d3feat(news): Created ability to create news articles28bf070feat(news): Added ability to search and filter news articles5d8f9d3Create useNews.tsd8e964efeat(news): Added backend for newsf78b29bfeat(news) Added news page/sidebar6c7866afeat(news): Created article overview page3a55075feat(news): Created article full screen view1ed1590feat(news): Updated user for authoring articles📊 Changes
15 files changed (+1334 additions, -0 deletions)
View changed files
➕
components/DeleteNewsModal.vue(+72 -0)➕
components/NewsArticleCreate.vue(+346 -0)➕
components/NewsDirectory.vue(+193 -0)➕
composables/useNews.ts(+50 -0)➕
pages/news.vue(+156 -0)➕
pages/news/article/[id]/index.vue(+150 -0)➕
pages/news/index.vue(+137 -0)➕
prisma/migrations/20250128102738_add_news/migration.sql(+16 -0)➕
prisma/schema/news.prisma(+13 -0)📝
prisma/schema/user.prisma(+1 -0)➕
server/api/v1/news/[id].delete.ts(+23 -0)➕
server/api/v1/news/[id].get.ts(+22 -0)➕
server/api/v1/news/index.get.ts(+17 -0)➕
server/api/v1/news/index.post.ts(+24 -0)➕
server/internal/news/index.ts(+114 -0)📄 Description
Probably going to be re-written for nuxt content haha.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.