feat: implement core Nuxt application with film browsing, search, and detail page functionality using OPhim and NguonC APIs.

This commit is contained in:
thanhvudaynee
2026-05-17 20:30:19 +07:00
parent 90791df93d
commit 34d25df560
18 changed files with 2907 additions and 145 deletions
+50
View File
@@ -0,0 +1,50 @@
# Dành cho nhà phát triển Website
## Danh sách phim
### Phim mới cập nhật
**GET** `https://phim.nguonc.com/api/films/phim-moi-cap-nhat?page=${page}`
Ví dụ: `https://phim.nguonc.com/api/films/phim-moi-cap-nhat?page=1`
### Phim theo danh mục
**GET** `https://phim.nguonc.com/api/films/danh-sach/${slug}?page=${page}`
Ví dụ: `https://phim.nguonc.com/api/films/danh-sach/phim-dang-chieu?page=1`
---
## Phim & Tập Phim
### Thông tin Phim & Danh sách tập phim
**GET** `https://phim.nguonc.com/api/film/${slug}`
Ví dụ: `https://phim.nguonc.com/api/film/hoa-thien-cot`
---
## Thể loại & Quốc gia & Năm
### Phim theo thể loại
**GET** `https://phim.nguonc.com/api/films/the-loai/${slug}?page=${page}`
Ví dụ: `https://phim.nguonc.com/api/films/the-loai/hanh-dong?page=1`
### Phim theo quốc gia
**GET** `https://phim.nguonc.com/api/films/quoc-gia/${slug}?page=${page}`
Ví dụ: `https://phim.nguonc.com/api/films/quoc-gia/au-my?page=1`
### Phim theo năm
**GET** `https://phim.nguonc.com/api/films/nam-phat-hanh/${slug}?page=${page}`
Ví dụ: `https://phim.nguonc.com/api/films/nam-phat-hanh/2024?page=1`
---
## Tìm Phim
### Tìm kiếm phim
**GET** `https://phim.nguonc.com/api/films/search?keyword=${slug}`
Ví dụ: `https://phim.nguonc.com/api/films/search?keyword=Regeneration`