项目
在 GitHub 查看
odota/web
关于
OpenDota:基于 OpenDota 平台的 Dota 2 统计数据 React 网页界面
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- +1
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文opendota-web
OpenDota Web UI: A web interface for viewing Dota 2 data. This utilizes the OpenDota API, which is also an open source project.
Quickstart
- Clone the repo using
git clone [email protected]:odota/web.git - Install Node.js (v16 or greater) (download installer or install via package manager)
npm installnpm start- Visit port 5173 on your development machine.
Contributing
- Make some changes.
npm run typecheckto check your code for typing errors.npm testto check all app routes for uncaught JavaScript errors.- Submit a pull request. Wait for review and merge.
- Congratulations! You're a contributor.
Configuration
- You can set the following environment variables:
- VITE_API_HOST: Changes the API that the UI requests data from (default https://api.opendota.com)
- SSL_CRT_FILE/SSL_KEY_FILE: Causes the development server to use HTTPS
Tech Stack
- View: React/Redux/CSS Modules
Notes
- You don't have to set up the entire stack (databases, etc.), or worry about getting starter data, since the UI points to the production API.
- Use the configuration to point to your own API (if you are working on a new feature and want to start building the UI before it's deployed to production).
- Discord: https://discord.gg/opendota
- Strongly recommended for active developers! We move fast and it's helpful to be up to speed with everything that's happening.
- If you're interested in contributing regularly, let us know and we'll add you to the organization.
探索相关项目
加载中…