Commit Graph

15 Commits

Author SHA1 Message Date
Rezon Philip a0dba4261f
Merge pull request #6 from creativenoz/feature/postgres-config
chore(postgres_db): Relocated database files to outside backend, init DockerFile, expand docker-compose
2025-12-03 23:01:45 +05:30
Rezon Philip 05b056c804 chore(postgres_db): Relocated database files to outside backend, init DockerFile, expand docker-compose
This commit relocates the database files to outside the backend folder, to the root aurganize folder.
- we initialise the backend Dockerfile.dev
- we expand the docker-compose to migrate our backend to docker

This improves developer experience and standardizes database operations for the entire backend team.

Story: E1-004 - PostgreSQL Database Setup
2025-12-03 22:57:47 +05:30
Rezon Philip b2ce4672cf
Merge pull request #5 from creativenoz/feature/api-server-main
chore(makefile): Define backend project makefile
2025-12-03 22:50:39 +05:30
Rezon Philip 7064de7709
Merge pull request #4 from creativenoz/develop
This PR merges three major feature branches from develop into main and establishes the core foundation of the Aurganize Backend Platform.
2025-12-03 01:01:29 +05:30
Rezon Philip 03f58d12fa
Merge pull request #3 from creativenoz/feature/postgres-config
chore(postgres_db): Add full PostgreSQL tooling
2025-12-03 00:47:41 +05:30
Rezon Philip 0182a1ae9e chore(postgres_db): Add full PostgreSQL tooling (migrations, seeds, backup, restore, health-check)
This commit introduces a complete PostgreSQL developer workflow for the Aurganize backend,
fully integrated with the Dockerized database environment.

Included changes:
  • Added initial migration
  • Added development seed script with temporary RLS disable/enable logic
  • Added test operation script to validate if the entries are working as expected
  • Added docker-aware backup script:
        - Dumps DB from inside postgres container
        - Stores compressed .sql.gz backups outside repo
        - Auto-cleans old backups
  • Added docker-aware restore script:
        - Drops and recreates DB
        - Restores from compressed backups
  • Added Docker-based database health check:
        - Moved health_check.sql to database/tests/
        - Added health_check.sh wrapper to run through docker exec
  • Updated directory structure for database scripts and tests
  • Ensured all scripts auto-detect container, user, and file locations

This improves developer experience and standardizes database operations for the entire backend team.

Story: E1-004 - PostgreSQL Database Setup
2025-12-03 00:39:34 +05:30
Rezon Philip 09249032e7 chore(makefile): Define backend project makefile
Available targets:\033[0m
  help            Show this help message
  dev             Run development server with hot reload (requires Air)
  run             Run server without hot reload
  build           Build production binary
  build-local     Build binary for local OS
  test            Run all tests
  test-coverage   Run tests and show coverage report
  test-unit       Run unit tests only
  test-integration Run integration tests only
  bench           Run benchmarks
  clean           Clean build artifacts and caches
  deps            Download dependencies
  deps-update     Update all dependencies
  lint            Run linter
  fmt             Format code
  vet             Run go vet
  check           Run all checks (fmt, vet, lint, test)
  migrate-up      Run database migrations
  migrate-down    Rollback last migration
  migrate-create  Create new migration (usage: make migrate-create NAME=add_users_table)
  docker-build    Build Docker image
  docker-run      Run Docker container
  install-air     Install Air for hot reload
  install-linter  Install golangci-lint
  install-migrate Install golang-migrate
  install-tools   Install all development tools
  db-psql         Connect to database with psql
  seed            Run database seed script
  mod-graph       Show dependency graph
  mod-why         Show why a package is needed (usage: make mod-why PKG=github.com/pkg/errors)
  version         Show version information
  info            Show project information

This commit establishes the foundation for all future development.

Story: E1-002 - Backend Project Initialization (makefile)
2025-11-30 03:18:41 +05:30
Rezon Philip 35a8dab5b8
Merge pull request #2 from creativenoz/feature/api-server-main
feat(echo server): Define backend api server using echo framework
2025-11-29 21:03:15 +05:30
Rezon Philip b99866db54 feat(echo server): Define backend api server using echo framework
API server (backend/cmd/api):
- we load configuration
- init logger
- create echo server instance
- we define the middleware pipeline
--- recover
--- request_id
--- logger_format
--- cors (ross-Origin Resource Sharing)
--- security_headers
--- gzip_compresssion
- route_mapping
- star_server
- graceful_shutdown

add-ons:
- healthCheckHandler()
- customHTTPErrorHandler()

This commit establishes the foundation for all future development.

Story: E1-002 - Backend Project Initialization (main echo server)
2025-11-29 20:52:17 +05:30
Rezon Philip fe50efd3ab
Merge pull request #1 from creativenoz/feature/global-config-and-logging
feat(config,loggin): Defining global config loading and multi-level logging mechanism
2025-11-29 16:59:31 +05:30
Rezon Philip 96651fceea feat(config,loggin): Defining global config loading and multi-level logging mechanism
Config (backend/internal/confi)
- Defined the global config loading in internal/config/config.go
- - Defined DatabaseSN() and RedisDSN() to expose their respective connection strings
- Defined the env example to refer to while creating the .env file in your local
Logging (backend/pkg/logger)
- Defined the global loggin mechanism ( logger.go )
- Created and validated the logging through tests ( logger_test.go )written and validated
- Added a reference ( example_test.go ) to refer to understand about usage of logging mechanims

This commit establishes the foundation for all future development.

Story: E1-002 - Backend Project Initialization (Partial)
2025-11-29 16:40:25 +05:30
Rezon Philip d47398356d Merge branch 'main' of https://github.com/creativenoz/aurganize-v62 2025-11-28 16:01:42 +05:30
Rezon Philip 5f8b6376dc docs: add contribution guidelines and code owners
- Add CONTRIBUTING.md with development workflow
- Add CODEOWNERS for automatic review requests
- Document coding standards for Go and TypeScript
- Add commit message guidelines (Conventional Commits)
- Add PR process documentation

Story: E1-001 - Project Repository Setup (Final)
2025-11-28 15:58:35 +05:30
Rezon Philip e328b6512e
Remove support information from README
Removed support section from README.
2025-11-27 01:43:12 +05:30
Rezon Philip 6187036bc5 init : initial repo setup[200~
- Create monorepo structure (backend, frontend, infrastructure, docs)
- Add comprehensive .gitignore for Go and Node.js
- Add detailed README with quick start guide
- Add PR template for standardized code reviews
- Add issue templates for bugs and features
- Setup branch structure (main, develop)

This commit establishes the foundation for all future development.

Story: E1-001 - Project Repository Setup~
2025-11-27 00:56:57 +05:30