-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
#8 save post function
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,8 @@ | |
"name": "Trần Huy Hoàng", | ||
"address": "dia chi", | ||
"dateBirth": "2001-08-27", | ||
"gender": "male" | ||
"gender": "male", | ||
"comfirmToken": "ok" | ||
}, | ||
{ | ||
"email": "[email protected]", | ||
|
@@ -123,5 +124,6 @@ | |
"content": "Rất xinh đẹp tuyệt vời ạ 🥰", | ||
"id": 14 | ||
} | ||
] | ||
], | ||
"saved-post": [] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,32 @@ | ||
export const API_SUB = [ | ||
"Chính trị", | ||
"Thời sự", | ||
"Kinh doanh", | ||
"Thế giới", | ||
"Giải trí", | ||
"Thể thao", | ||
"Sức khỏe", | ||
"Đời sống", | ||
"Giáo dục", | ||
"Pháp luật", | ||
"Xe", | ||
"Công nghệ", | ||
"Bất động sản", | ||
"Du lịch", | ||
// "Tuần Việt Nam", | ||
// "Bạn đọc" | ||
"Chính trị", | ||
"Thời sự", | ||
"Kinh doanh", | ||
"Thế giới", | ||
"Giải trí", | ||
"Thể thao", | ||
"Sức khỏe", | ||
"Đời sống", | ||
"Giáo dục", | ||
"Pháp luật", | ||
"Xe", | ||
"Công nghệ", | ||
"Bất động sản", | ||
"Du lịch", | ||
// "Tuần Việt Nam", | ||
// "Bạn đọc" | ||
]; | ||
|
||
export const API_AUTH = { | ||
LOGIN: "http://localhost:3000/login/", | ||
USER: "http://localhost:3000/user/", | ||
RECOVER: "http://localhost:4200/change-password" | ||
LOGIN: "http://localhost:3000/login/", | ||
USER: "http://localhost:3000/user/", | ||
RECOVER: "http://localhost:4200/change-password" | ||
} | ||
|
||
export const API_URL = { | ||
COMMENT: "http://localhost:3000/comments", | ||
GET_LIST: "https://api-news-vietnamnet.herokuapp.com/api/get/", | ||
SEARCH: "https://api-news-vietnamnet.herokuapp.com/api/search/", | ||
ARTICLE_DETAILS: "https://api-news-vietnamnet.herokuapp.com/article/", | ||
COMMENT: "http://localhost:3000/comments", | ||
GET_LIST: "https://api-news-vietnamnet.herokuapp.com/api/get/", | ||
SEARCH: "https://api-news-vietnamnet.herokuapp.com/api/search/", | ||
ARTICLE_DETAILS: "https://api-news-vietnamnet.herokuapp.com/article/", | ||
ARTICLE_SAVED: "http://localhost:3000/saved-post" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.