Skip to content

CodexKnight-ai/threads-app-backend

Repository files navigation

Threads App – Backend

This repository contains the backend for a Threads-like application, built primarily as a learning-focused project.

Purpose

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

GraphQL Docker PostgreSQL

This project is **not production-ready**. The focus is on understanding core backend concepts rather than building a fully scaled system.

Tech Stack

  • Node.js + Express
  • Apollo Server (GraphQL)
  • PostgreSQL
  • Docker & Docker Compose

Key Learnings

  • 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 Implementation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors