Skip to content

GDGAlgiers/gdg-docs

GDG Docs

A comprehensive, community-driven documentation platform providing standardized best practices, coding guidelines, and production-ready patterns for modern web and mobile development.

Astro Starlight Tailwind CSS MDX

Built with Starlight License: MIT Contributions Welcome

GDG Docs is an open-source initiative by GDG Algiers that provides high-quality, standardized documentation for developers. Our goal is to create a centralized knowledge hub covering best practices, common pitfalls, and practical workflows for the technologies we use every day.


What's Inside

Tech Stack Coverage

  • Frontend Development: React.js with comprehensive guides on state management, routing, API integration, authentication, and deployment
  • Backend Development: Express.js covering API design, database integration, middleware patterns, error handling, and security
  • Mobile Development: Flutter with architecture patterns, state management, and platform-specific guidance
  • Development Workflows: GitHub collaboration, commit conventions, code review practices, and project management

Content Focus

Our documentation emphasizes:

  • Production-Ready Patterns: Real-world code examples you can trust
  • Standardized Best Practices: Consistent approaches across all guides
  • Common Pitfalls: Issues developers face and how to avoid them
  • Complete Workflows: End-to-end guides from backend to frontend
  • Beginner to Advanced: Content for all experience levels

Quick Start

Prerequisites

  • Node.js 18+ and npm/yarn/pnpm
  • Git

Local Development

# Clone the repository
git clone https://github.com/GDGAlgiers/gdg-docs.git
cd gdg-docs

# Install dependencies
npm install

# Start the development server
npm run dev

The site will be available at http://localhost:4321

Available Scripts

npm run dev      # Start development server
npm run build    # Build for production
npm run preview  # Preview production build locally

Contributing

We welcome contributions from developers of all skill levels! Whether you want to:

  • Fix typos or improve existing documentation
  • Add new guides or expand current topics
  • Suggest improvements or report issues
  • Share your expertise on a specific technology

Please read our Contributing Guide for detailed instructions on:

  • How to set up your development environment
  • Our pull request process
  • Documentation standards and writing guidelines
  • Code example best practices

Quick Contribution Steps

  1. Fork the repository
  2. Create a feature branch: git checkout -b topic/feature
  3. Make your changes and commit: git commit -m 'Add: feature description'
  4. Push to your fork: git push origin topic/feature
  5. Open a Pull Request

Project Structure

gdg-docs/
├── src/
│   ├── content/
│   │   ├── docs/           # Main documentation files
│   │   │   ├── overview/
│   │   │   ├── code-guidelines/
│   │   │   ├── react/
│   │   │   ├── express/
│   │   │   ├── flutter/
│   │   │   ├── github/
│   │   │   └── workflows/
│   │   └── config.ts       # Content collection config
│   ├── assets/             # Images and static assets
│   └── tailwind.css        # Global styles
├── public/                 # Public static files
├── astro.config.mjs        # Astro configuration
└── package.json

Docker Deployment

Build and run using Docker:

# Build the image
docker build -t gdg-docs:latest .

# Run the container
docker run -p 8080:80 gdg-docs:latest

# Or use docker-compose
docker-compose up --build

The site will be available at http://localhost:8080


Built With


Key Features

  • Fast Search: Instantly find what you need with built-in search
  • Mobile Responsive: Optimized for all device sizes
  • Dark Mode: Automatic theme switching based on user preference
  • Interactive Examples: Code snippets with syntax highlighting
  • Tabbed Content: Compare different approaches side-by-side
  • Standardized Formats: Consistent API responses, error handling, and more

License

This project is licensed under the MIT License - see the LICENSE file for details.


Acknowledgments

  • Contributors: Everyone who has helped bring this documentation into life
  • Astro & Starlight Teams: For creating amazing open-source tools

Community & Support


Made with ❤️ by GDG Algiers

Empowering developers through knowledge sharing and community collaboration

Releases

No releases published

Packages

No packages published

Contributors 8

Languages