This repository contains the Lumyx Agency website, a modern digital marketing agency site built with HTML, CSS, and JavaScript.
- Responsive design that works on all devices
- Interactive booking system
- Modern UI with animations and transitions
- Blog section
- Newsletter subscription
- Contact form
- Social media integration
- HTML5
- CSS3
- JavaScript
- Font Awesome Icons
- Google Fonts
- FullCalendar.js
- Clone the repository
- Open
index.html
in your browser - No build process required - it's a static website
This website is deployed using GitHub Pages. Visit the live site at: [Your GitHub Pages URL will go here]
© 2025 Lumyx Agency. All rights reserved.
- Content Security Policy (CSP) headers
- XSS protection
- CSRF protection
- Rate limiting
- Input sanitization and validation
- Secure HTTP headers
- Production build optimization
- Node.js >= 18.0.0
- npm >= 8.0.0
- EmailJS account and API keys
- Supabase account and credentials
Create a .env
file in the root directory with the following variables:
EMAILJS_PUBLIC_KEY=your_public_key
EMAILJS_PRIVATE_KEY=your_private_key
EMAILJS_TEMPLATE_ID=your_template_id
SUPABASE_URL=your_supabase_url
SUPABASE_ANON_KEY=your_supabase_anon_key
- Clone the repository
- Install dependencies:
npm install
- Set up environment variables
- Run security checks:
npm run security-check
npm run dev
-
Run linting:
npm run lint
-
Build for production:
npm run build
-
Start production server:
npm start
-
Keep dependencies updated:
npm audit npm update
-
Regular security checks:
npm run security-check
-
Code quality checks:
npm run lint
- Set up SSL/TLS certificates
- Configure proper CORS settings
- Set up proper error logging
- Configure rate limiting based on your needs
- Set up monitoring and alerting
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
To run the site locally:
# Install dependencies
npm install
# Start local development server
npm start
The site will be available at http://localhost:3000.
The site includes a production optimization script that:
- Combines and minifies JavaScript files
- Minifies CSS files
- Optimizes images
- Creates a production-ready build in the
dist
directory
To run the optimization:
# Install required global tools
npm install -g terser clean-css-cli imagemin-cli
# Run the optimization script
npm run optimize
To test the optimized build locally:
npm run test
The site is configured for deployment to Netlify. You can deploy using one of these methods:
-
Automatic Deployment: Connect your GitHub repository to Netlify for automatic deployments.
-
Netlify CLI:
# Install Netlify CLI if not already installed npm install -g netlify-cli # Deploy to Netlify npm run deploy
-
Manual Upload: Drag and drop the
dist
folder to Netlify's manual deploy area.
The site includes several performance optimizations:
- Resource preloading for critical assets
- Lazy loading of images
- Deferred loading of non-critical scripts
- Minification of CSS and JavaScript
- Image optimization
For more detailed information, check these files:
deployment-checklist.md
: Complete pre-deployment checklistscripts/optimize-for-production.js
: Production build scriptnetlify.toml
: Netlify configuration
The site supports all modern browsers:
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Mobile Chrome (Android)
- Mobile Safari (iOS)
Internet Explorer is not supported.