Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Body Parser | 5,244 | 862,600 | 23,952 | 3 months ago | 69 | April 03, 2022 | 25 | mit | JavaScript | |
Node.js body parsing middleware | ||||||||||
Simorgh | 1,130 | 13 hours ago | 88 | other | JavaScript | |||||
The BBC's Open Source Single Page Application. Contributions welcome! Used on some of our biggest websites, e.g. | ||||||||||
Apicache | 1,063 | 437 | 57 | a year ago | 79 | October 25, 2021 | 52 | mit | JavaScript | |
Simple API-caching middleware for Express/Node. | ||||||||||
Dyson | 836 | 43 | 13 | 6 months ago | 66 | June 08, 2021 | 8 | JavaScript | ||
Node server for dynamic, fake JSON. | ||||||||||
Node Spliderapi | 801 | 9 months ago | 13 | mit | JavaScript | |||||
基于node+express爬虫 API接口项目,包括全国高校信息、成语诗歌、星座运势、历史的今天、音乐数据接口、图片壁纸、搞笑视频、热点新闻资讯 详情接口数据 | ||||||||||
Stock Market India | 574 | 6 months ago | 28 | mit | JavaScript | |||||
API for Indian Stock Market's NSE and BSE. | ||||||||||
Express Zod Api | 358 | 1 | 21 hours ago | 147 | January 08, 2023 | 5 | mit | TypeScript | ||
A Typescript library to help you get an API server up and running with I/O schema validation and custom middlewares in minutes. | ||||||||||
Linkedin Profile Scraper | 331 | 8 days ago | 22 | July 03, 2020 | 22 | mit | TypeScript | |||
🕵️♂️ LinkedIn profile scraper returning structured profile data in JSON. Works in 2020. | ||||||||||
Athena Express | 164 | 3 | 2 months ago | 52 | March 22, 2022 | 29 | mit | JavaScript | ||
Athena-Express can simplify executing SQL queries in Amazon Athena AND fetching cleaned-up JSON results in the same synchronous or asynchronous request - well suited for web applications. | ||||||||||
Express Json Validator Middleware | 136 | 28 | 5 | a year ago | 27 | May 20, 2022 | 9 | mit | JavaScript | |
Express middleware for validating requests against JSON schema |
项目基于
express
+sequelize
+mysql
+express-validator
基于node+express爬虫 API接口项目,包括全国高校信息、成语诗歌、星座运势、历史的今天、音乐数据接口、图片壁纸、搞笑视频、热点新闻资讯 详情接口数据
express-validator
参数表单校验cheerio
解析爬虫页面ejs
模板swaggerUI
接口文档nodemon
项目开发动态热更新dotenv
管理配置系统参数log4js
错误日志收集需要安装
node
环境,mysql
数据库
$ git clone https://github.com/ecitlm/Node-SpliderApi.git
$ npm install
# start project dev
$ npm run dev
# starting prd
$ npm run prd
#localhost:3001
在服务器中使用
pm2
对node
服务进行进程守护
#启动进程/应用
pm2 start npm --watch --name tools -- run prd
pm2 restart tools
pm2 stop tools
pm2 delete tools
mysql
中包含、唐诗300、成语、历史的今天、星座运势(聚合平台数据-需要申请自己的APPCODE)、用户表等数据 项目目录bak-file
文件夹可查看
启动项目之后
http://localhost:3001/api-docs/
可查看接口文档页面![]()
状态码 | 含义 | 备注 |
---|---|---|
200 | 响应正常 | |
1001 | 参数无效、如一个不存在的id | |
1002 | 参数为空、验证不通过、参数类型错误 | |
1003 | 请求签名异常、非法 | |
404 | 请求不存在 | |
405 | 请求方式错误 | |
9999 | 第三方接口请求异常 | |
500 | 系统异常 |