TechPremiumModern
A modern, full-stack web application showcasing cutting-edge technology solutions and digital services. Built with React, TypeScript, and Express, featuring a sleek glass-morphism design with 3D animations and responsive layouts.

π Features
- Modern UI/UX: Glass-morphism design with 3D animations and smooth transitions
- Responsive Design: Fully responsive across all devices and screen sizes
- Multi-Page Application: Complete website with Home, Services, About, Contact, Blog, Pricing, and Case Studies
- Interactive Components: Live chat, animated counters, portfolio showcase, and testimonials
- Performance Optimized: Built with Vite for fast development and optimized production builds
- Type-Safe: Full TypeScript implementation for better development experience
- Database Integration: Drizzle ORM with Neon PostgreSQL for data persistence
- Component Library: Comprehensive UI components using Radix UI and Tailwind CSS
π οΈ Tech Stack
Frontend
- React 18 - Modern React with hooks and concurrent features
- TypeScript - Type-safe JavaScript for better development experience
- Vite - Fast build tool and development server
- Tailwind CSS - Utility-first CSS framework
- Radix UI - Accessible, unstyled UI components
- Framer Motion - Animation library for smooth transitions
- Wouter - Lightweight routing library
- React Query - Data fetching and state management
Backend
- Express.js - Fast, unopinionated web framework
- TypeScript - Server-side type safety
- Drizzle ORM - Type-safe SQL query builder
- Neon - Serverless PostgreSQL database
- Passport.js - Authentication middleware
- ESLint - Code linting
- PostCSS - CSS processing
- Autoprefixer - CSS vendor prefixing
- Drizzle Kit - Database migrations and schema management
π Project Structure
TechPremiumModern/
βββ client/ # Frontend React application
β βββ src/
β β βββ components/ # Reusable UI components
β β β βββ ui/ # Radix UI components
β β β βββ Footer.tsx
β β β βββ GlassCard.tsx
β β β βββ LiveChat.tsx
β β β βββ Navigation.tsx
β β β βββ ThemeProvider.tsx
β β βββ data/ # Static data files
β β βββ hooks/ # Custom React hooks
β β βββ lib/ # Utility libraries
β β βββ pages/ # Page components
β β βββ main.tsx # Application entry point
β βββ public/ # Static assets
β βββ index.html # HTML template
βββ server/ # Backend Express application
β βββ app.ts # Express app setup
β βββ routes.ts # API routes
β βββ storage.ts # Database connection
β βββ index-dev.ts # Development server
βββ shared/ # Shared types and schemas
β βββ schema.ts # Database schema
βββ attached_assets/ # Generated images and assets
βββ .github/ # GitHub Actions workflows
βββ package.json # Project dependencies and scripts
π Getting Started
Prerequisites
- Node.js 18+ and npm
- PostgreSQL database (Neon recommended for serverless)
Installation
- Clone the repository
git clone <repository-url>
cd TechPremiumModern
- Install dependencies
-
Set up environment variables
Create a .env file in the root directory:
DATABASE_URL=your_neon_database_url
PORT=5000
NODE_ENV=development
- Set up the database
- Start development server
The application will be available at http://localhost:5000
π Available Scripts
npm run dev - Start development server with hot reload
npm run build - Build the application for production
npm run start - Start the production server
npm run check - Run TypeScript type checking
npm run db:push - Push database schema changes
π Deployment
This project is configured for deployment on GitHub Pages with automated workflows.
GitHub Pages Deployment
- Configure repository settings
- Go to Settings β Pages
- Set source to βGitHub Actionsβ
- Deploy
The deployment workflow will automatically build and deploy the application.
Manual Deployment
- Build the application
- Serve the built files
π¨ Design System
Color Palette
- Primary: Electric blue (#00D4FF)
- Secondary: Cyan (#06B6D4)
- Background: Dark slate (slate-950 to slate-900)
- Text: White and slate variants
Typography
- Font Family: System fonts with display variants
- Headings: Bold, large scale typography
- Body: Clean, readable text
Components
- GlassCard: Semi-transparent cards with blur effects
- Buttons: Gradient backgrounds with hover animations
- Navigation: Fixed header with smooth scrolling
- Animations: 3D transforms and pulse effects
π€ Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature)
- Commit your changes (
git commit -m 'Add amazing feature')
- Push to the branch (
git push origin feature/amazing-feature)
- Open a Pull Request
Development Guidelines
- Use TypeScript for all new code
- Follow the existing component patterns
- Ensure responsive design for all new features
- Test components across different screen sizes
- Maintain consistent styling with Tailwind classes
π Pages Overview
- Home: Hero section with services overview and portfolio preview
- Services: Detailed service offerings with icons and descriptions
- About: Company story, team information, and achievements
- Contact: Contact form with validation and backend integration
- Blog: Article listings and individual blog posts
- Pricing: Service packages and pricing tiers
- Case Studies: Detailed project showcases and results
π§ API Endpoints
The backend provides RESTful API endpoints for:
- Contact form submissions
- Blog posts management
- User authentication
- Portfolio data
- Lighthouse Score: 95+ on all metrics
- Bundle Size: Optimized with code splitting
- Loading Speed: Fast initial page loads with lazy loading
- SEO: Meta tags and structured data implemented
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
- Design inspiration from modern tech company websites
- UI components powered by Radix UI
- Icons from Lucide React
- Images generated with AI tools
Built with β€οΈ using modern web technologies
# D D I