https://github.com/xanke/weather-service
https://github.com/xanke/weather-service
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/xanke/weather-service
- Owner: xanke
- License: gpl-3.0
- Created: 2018-02-21T15:27:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-19T14:37:56.000Z (over 7 years ago)
- Last Synced: 2025-01-29T19:25:26.533Z (over 1 year ago)
- Language: TypeScript
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Weather Service
## 支持天气预报采集和查询
**api**
/forecast/:city
## docker
```shell
docker stop weather-service \
&& docker rm weather-service \
&& cd /app/weather-service \
&& docker build -t weather-service . \
&& docker run -e TZ="Asia/Shanghai" -d -p 11001:7001 --name weather-service \
--mount type=bind,source=/app/config/weather-service,target=/app/config \
weather-service npm run dev
```