This repository contains the backend for a Threads-like application, built primarily as a learning-focused project.
The main motive of this backend is to learn and practice:
- GraphQL for flexible and efficient API design
- Docker containerization for consistent local development and environment management
- PostgreSQL as a relational database in a containerized setup
- Node.js + Express
- Apollo Server (GraphQL)
- PostgreSQL
- Docker & Docker Compose
- Designing GraphQL schemas and resolvers
- Running backend services using Docker containers
- Implementing PostgreSQL as a persistent database using Docker volumes
- Managing database configuration through environment variables
- Understanding container lifecycle and data persistence
PostgreSQL is used as the primary database for this backend.
- Runs as a separate Docker service
- Uses a named volume to persist data across container restarts
- Database credentials are injected via environment variables
- Designed for local development and learning database integration with GraphQL
This setup helps in understanding how real-world backends manage databases in isolated, reproducible environments.