A collection of production-ready code examples showcasing modern technologies and best practices.
| Project | Description | Status |
|---|---|---|
| GraphQL API with Node.js and TypeScript | Fully-typed GraphQL API with Apollo Server, MySQL, and auto-generated types |
Coming soon...
Coming soon...
Coming soon...
This repository serves as a reference collection of well-structured, production-ready code examples. Each example demonstrates:
- ✅ Modern Best Practices - Industry-standard coding patterns and architecture
- ✅ Complete Documentation - Detailed setup guides and usage instructions
- ✅ Type Safety - Full TypeScript implementation where applicable
- ✅ Code Quality - ESLint, Prettier, and testing configured
- ✅ CI/CD Ready - GitHub Actions workflows included
- ✅ Self-Contained - Each example works independently
Each example is completely independent. Choose any project and follow its README:
# Clone the repository
git clone https://github.com/ganbold-adilbish/My-Code-Examples.git
# Navigate to an example
cd "My-Code-Examples/GraphQL API with Node.js and TypeScript"
# Follow the example's README for setup
npm install
npm run devMy-Code-Examples/
├── .github/
│ └── workflows/ # CI/CD workflows for each project
├── GraphQL API with Node.js and TypeScript/
│ ├── src/ # Source code
│ ├── README.md # Project documentation
│ ├── package.json # Dependencies
│ └── ... # Config files
├── CONTRIBUTING.md # Contribution guidelines
├── LICENSE # MIT License
└── README.md # This file
Backend:
- Node.js, TypeScript
- GraphQL (Apollo Server), REST APIs
- MySQL, PostgreSQL, MongoDB (planned)
- Sequelize, Prisma, TypeORM (planned)
Frontend: (coming soon)
- React, Next.js
- Vue.js, Nuxt.js
- Tailwind CSS, shadcn/ui
DevOps:
- Docker, Docker Compose (planned)
- GitHub Actions (CI/CD)
- Testing (Jest, Vitest)
All examples include:
- Linting: ESLint with modern flat config
- Formatting: Prettier with ignore patterns
- Type Checking: TypeScript strict mode
- Testing: Jest or Vitest with coverage
- CI/CD: GitHub Actions workflows
- Documentation: Comprehensive READMEs
Contributions are welcome! Whether you want to:
- Add a new example
- Improve existing code
- Fix bugs or typos
- Enhance documentation
Please read CONTRIBUTING.md for guidelines.
- Fork the repository
- Create your example in a new folder
- Include all necessary files (README, configs, tests)
- Add CI/CD workflow in
.github/workflows/ - Update this root README with your example
- Submit a Pull Request
This repository is licensed under the MIT License - see the LICENSE file for details.
Individual examples may have their own licenses - check each project's directory.
- GitHub: @ganbold-adilbish
If you find these examples helpful, please consider:
- ⭐ Starring this repository
- 🐛 Reporting issues
- 🤝 Contributing improvements
- 📢 Sharing with others
Note: Each example is designed to be copy-paste ready. Feel free to use them as starting points for your own projects!