Architectural Links is a premium, cinematic URL shortening system designed with high-performance aesthetics and monolithic structural integrity. It features a reactive 3D parallax background, a self-diagnostic demo mode, and a robust microservices-ready backend.
The application is built using a modern decoupled architecture, ensuring scalability and a seamless user experience.
graph TD
User((User)) -->|HTTPS| Frontend[Frontend: React/Vite]
subgraph "Frontend Layer (Vercel Ready)"
Frontend -->|1. Ping Diagnostic| Check{Backend Active?}
Check -->|No| Demo[Demo Mode: Offline Simulation]
Check -->|Yes| Normal[Normal Mode: API Interaction]
end
subgraph "Backend Layer (Dockerized)"
Normal -->|API Request| Flask[Flask REST API]
Flask -->|Cache Check| Redis[(Redis Cache)]
Flask -->|Persist Data| DB[(PostgreSQL)]
end
Flask -->|Generate| ShortURL[Shortened URL]
ShortURL --> Normal
- Cinematic UI/UX: 1:1 high-fidelity design with dynamic SVG mesh grids and 3D parallax effects.
- Auto-Diagnostic Demo Mode: Automatically switches to client-side simulation if the backend is unreachable (perfect for Vercel-only deployments).
- Native Social Sharing: Integrated sharing menu via Web Share API with clipboard fallback.
- Microservice Ready: Fully dockerized environment with PostgreSQL and Redis.
- CI/CD Integrated: Automated GitHub Actions pipeline for linting and unit testing.
- React 18 + TypeScript
- Vite (Build Tool)
- Tailwind CSS (Styling)
- Framer Motion (Cinematic Animations)
- Lucide React (Architectural Icons)
- Vitest (Unit Testing)
- Python 3.11
- Flask (REST Framework)
- SQLAlchemy (ORM)
- PostgreSQL (Database)
- Redis (Caching & Rate Limiting)
- Pytest (Testing Suite)
Clone the repository and run:
docker-compose up --build- Frontend:
http://localhost:3050 - Backend API:
http://localhost:5003
If you prefer running components separately:
cd backend
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
python app.pycd frontend
npm install
npm run devThe project is optimized for Vercel. Simply connect your GitHub repository to Vercel. The application will detect the absence of the backend and automatically enter Demo Mode.
For a full deployment, use the docker-compose.yml configuration on a VPS with a reverse proxy like Nginx or Traefik.
Project source is available under the MIT License.
Architectural Link System // v4.0.1 Stable