Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GITHUB PROJECT TEMPLATE

CI Release License: MIT

This repository provides a multi-language project template with best practices for Node.js, Python, and TypeScript. It includes:

Quick Start

  1. Clone the repository
  2. Run the setup script: pwsh ./setup.ps1 (or bash ./scripts/setup.sh on Unix)
  3. Start coding in your preferred language folder

API Testing Examples

See mock-ui/README.md for all UI/testing options, including static HTML/JS, Swagger UI, and a React+Vite mock UI.

  • Python: See python/tests/test_api.py for a sample using requests and pytest.
  • Node.js: See nodejs/tests/api.test.js for a sample using supertest and jest.
  • TypeScript: See typescript/tests/api.test.ts for a sample using supertest and jest.
  • Postman: Import postman_collection.json for ready-to-run API tests.
  • Insomnia: Import insomnia_api_test.yaml for ready-to-run API tests.
  • k6: Use k6-api-test.js for load/performance testing (k6 run k6-api-test.js).

For contract testing, the workflow uses Schemathesis against docs/api/openapi.yml.

codecov

License

MIT. See LICENSE.


What Can Be Edited vs. What Is Managed by the Template

Area / Folder User Editable? Purpose / Notes
nodejs/, python/, typescript/ Your code, tests, and dependencies
docs/ Project/user documentation
obsidian/ Internal notes vault
.env.example, .env Environment variables
i18n/ Sample translations for i18n
TELEMETRY_OPT_IN.md Opt-in for anonymous analytics
README.md, CONTRIBUTING.md, etc. Main project docs
scripts/ ⚠️ Project automation (edit with care)
.github/workflows/ ⚠️ CI/CD automation (edit with care)
.husky/, python/.pre-commit-config.yaml ⚠️ Pre-commit hooks (edit with care)
Makefile, Dockerfile, docker-compose.yml ⚠️ Build/deploy automation
CODEOWNERS, SECURITY.md, etc. ⚠️ Project meta/configuration

Legend:

  • ✅ = Safe to edit for your project needs
  • ⚠️ = Edit with care; these are part of the template’s automation/operation

Tip: If in doubt, check the file’s header or ask a maintainer before editing.


Automation & CI/CD Highlights

Related UI & Testing Features

  • Mock API UI: Multiple ways to interact with your API for onboarding, demos, and manual/automated testing. See mock-ui/README.md for:
    • Static HTML/JS (no build needed)
    • Swagger UI (OpenAPI explorer)
    • React + Vite mock UI (extensible, modern)
  • Postman/Insomnia Collections: Import postman_collection.json or insomnia_api_test.yaml for ready-to-run API tests.
  • Contract Testing: Automated with Schemathesis in CI (api-test.yml).

Mock API Server

You can run a local mock API server from your OpenAPI spec for contract testing and rapid prototyping:

# On Windows PowerShell
./scripts/mock-api.ps1

# On Linux/macOS (bash)
./scripts/mock-api.sh

Or use the Mock API workflow to run it in CI.

Internationalization (i18n)

Sample translation files are in i18n/locales/. Add or update translations as needed. The i18n workflow checks for translation files.

Telemetry Opt-In

This project is privacy-first. No analytics are collected unless you explicitly opt in by checking the box in TELEMETRY_OPT_IN.md. The telemetry workflow checks for this file.

About

GH Project Template

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages