mirror of
https://github.com/cita-777/metapi.git
synced 2026-10-31 19:47:31 +08:00
779 B
779 B
Contributing
Thanks for contributing to Metapi.
Development Setup
- Install dependencies:
npm install
- Copy environment template:
cp .env.example .env
- Run migration and start development:
npm run db:migrate
npm run dev
Quality Checks
Run before opening a PR:
npm test
npm run build
Pull Request Guidelines
- Keep PRs focused and small.
- Add or update tests for behavior changes.
- Update docs when user-facing behavior/config changes.
- Avoid committing runtime data (
data/) or temporary files (tmp/).
Commit Messages
Use concise messages with clear scope, for example:
feat: add token route health guardfix: handle empty model list in dashboarddocs: clarify docker env setup