Skip to content

ganbold-adilbish/My-Code-Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Code Examples

A collection of production-ready code examples showcasing modern technologies and best practices.

License: MIT

📚 Examples

Backend

Project Description Status
GraphQL API with Node.js and TypeScript Fully-typed GraphQL API with Apollo Server, MySQL, and auto-generated types CI

Frontend

Coming soon...

Full Stack

Coming soon...

DevOps

Coming soon...


🎯 About This Repository

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

🚀 Quick Start

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 dev

📂 Repository Structure

My-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

🛠️ Technologies Covered

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)

🎨 Code Quality Standards

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

🤝 Contributing

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.

Adding a New Example

  1. Fork the repository
  2. Create your example in a new folder
  3. Include all necessary files (README, configs, tests)
  4. Add CI/CD workflow in .github/workflows/
  5. Update this root README with your example
  6. Submit a Pull Request

📝 License

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.

🔗 Connect

⭐ Support

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!

About

A collection of production-ready code examples showcasing modern technologies and best practices

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors