# xianyu **Repository Path**: 7yue/xianyu ## Basic Information - **Project Name**: xianyu - **Description**: 闲鱼最新商品爬虫 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-05-05 - **Last Updated**: 2021-05-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # xianyu #### 介绍 一个简单的闲鱼商品爬虫,可增减关键词,定时爬取其最新商品并存放到redis,供页面展示 #### 软件架构 frontend为静态前端,backend为springboot后端。 1、本地nginx需要增加如下配置: server { listen 80; server_name localhost; location / { root *****/xianyu/frontend; index index.html; } location /xianyu/ { proxy_set_header Host $host; proxy_next_upstream error timeout invalid_header http_500 http_502 http_504; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://localhost:8080; } } root为frontend所在全路径 2、aplication.properties中有关于redis配置,可按实际情况修改 3、运行springboot项目,访问http://localhost