Skip to content

p4lv/repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real Estate Platform

A comprehensive platform for connecting real estate clients with verified professionals in NJ and NY regions.

Features

  • Educational Platform: Free courses and articles about real estate
  • Intelligent Lead Qualification: Quiz system for client qualification
  • Verified RE PRO Directory: Catalog with rating system
  • CRM System: Real-time chat and document management
  • AI Assistant: Automation for RE professionals (paid tiers)
  • Freemium Model: Free for clients, subscription-based for professionals

Tech Stack

Backend

  • PHP 8.3 with Symfony 7.x
  • PostgreSQL 16 with pgvector extension
  • Redis for caching and sessions
  • Mercure for real-time WebSocket communication

Frontend

  • Vanilla JavaScript (ES6+)
  • Modern CSS with responsive design
  • Progressive Web App (PWA) ready

Infrastructure

  • Docker & Docker Compose
  • Nginx web server
  • GitHub Actions for CI/CD

Integrations

  • OpenAI API for AI features
  • Stripe for payments
  • SendGrid/Amazon SES for email
  • Twilio for SMS

Prerequisites

  • Docker Desktop 4.x or higher
  • Git
  • (Optional) Make

Quick Start

1. Clone the repository

git clone <repository-url>
cd repro

2. Copy environment configuration

cp .env.example .env

3. Start Docker containers

docker-compose up -d

4. Install dependencies

docker-compose exec php composer install

5. Run database migrations

docker-compose exec php bin/console doctrine:migrations:migrate

6. Access the application

Development Commands

Using Make (recommended)

make install          # Install dependencies
make start            # Start Docker containers
make stop             # Stop Docker containers
make restart          # Restart Docker containers
make logs             # View logs
make bash             # Access PHP container shell
make test             # Run tests
make cs-fix           # Fix code style
make phpstan          # Run static analysis
make clear-cache      # Clear Symfony cache

Using Docker Compose directly

docker-compose up -d                                    # Start services
docker-compose down                                     # Stop services
docker-compose exec php bin/console cache:clear        # Clear cache
docker-compose exec php vendor/bin/phpunit             # Run tests
docker-compose logs -f                                  # Follow logs

Project Structure

/
├── .github/workflows/      # CI/CD pipelines
├── assets/                 # Frontend assets
│   ├── js/                # JavaScript modules
│   └── styles/            # CSS files
├── config/                # Configuration files
├── docker/                # Docker configurations
├── migrations/            # Database migrations
├── public/                # Web root
├── src/                   # Application code
│   ├── Controller/
│   ├── Entity/
│   ├── Repository/
│   ├── Service/
│   └── Security/
├── templates/             # Twig templates
├── tests/                 # Test suite
└── var/                   # Cache & logs

Testing

Run all tests

make test
# or
docker-compose exec php vendor/bin/phpunit

Run specific test suite

docker-compose exec php vendor/bin/phpunit tests/Unit
docker-compose exec php vendor/bin/phpunit tests/Functional

Generate coverage report

docker-compose exec php vendor/bin/phpunit --coverage-html coverage

Code Quality

Fix code style

make cs-fix
# or
docker-compose exec php vendor/bin/php-cs-fixer fix

Run static analysis

make phpstan
# or
docker-compose exec php vendor/bin/phpstan analyse

Database Management

Create migration

docker-compose exec php bin/console make:migration

Run migrations

docker-compose exec php bin/console doctrine:migrations:migrate

Load fixtures (development only)

docker-compose exec php bin/console doctrine:fixtures:load

Troubleshooting

Clear cache

make clear-cache

Rebuild Docker containers

docker-compose down -v
docker-compose build --no-cache
docker-compose up -d

Access container logs

docker-compose logs php
docker-compose logs nginx
docker-compose logs postgres
docker-compose logs redis

Security

  • Never commit .env files with sensitive data
  • Use strong passwords for database and services
  • Keep dependencies up to date
  • Review security advisories regularly

Contributing

Please read CONTRIBUTING.md for development guidelines.

Architecture

See ARCHITECTURE.md for detailed system architecture documentation.

License

Proprietary - All rights reserved

Support

For issues and questions, please contact the development team.

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published