添加接口

This commit is contained in:
imsyy
2023-03-14 16:04:10 +08:00
parent e9e156b785
commit 583f7f4b4f
23 changed files with 3186 additions and 0 deletions

23
package.json Normal file
View File

@@ -0,0 +1,23 @@
{
"name": "dailyhot_api",
"version": "0.0.1",
"description": "一个今日热榜 .",
"main": "app.js",
"scripts": {
"start": "node app.js"
},
"author": "imsyy",
"license": "ISC",
"dependencies": {
"axios": "^1.3.4",
"cheerio": "1.0.0-rc.12",
"dotenv": "^16.0.3",
"koa": "^2.14.1",
"koa-bodyparser": "^4.3.0",
"koa-router": "^12.0.0",
"koa-static": "^5.0.0",
"koa-views": "^8.0.0",
"koa2-cors": "^2.0.6",
"node-cache": "^5.1.2"
}
}