A modern React + Vite application for SEO keyword analysis and content optimization.
- Node.js (v16 or higher)
- npm (comes with Node.js)
- Navigate to the frontend directory:
cd seo-frontend- Install dependencies:
npm installnpm run devThis will start the development server at http://localhost:5173 by default.
npm run dev -- --port 3000npm run dev -- --port 3000 --hostThe --host flag allows access from other devices on your network.
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run preview |
Preview production build |
npm run lint |
Run ESLint |
The frontend connects to the backend API. Update the API URL in your code if needed:
const API_URL = 'http://127.0.0.1:8000';seo-frontend/
├── src/
│ ├── App.jsx # Main application component
│ ├── main.jsx # Application entry point
│ └── index.css # Global styles
├── public/ # Static assets
├── index.html # HTML template
├── package.json # Dependencies and scripts
└── vite.config.js # Vite configuration
- Product Selection: Choose from Adobe products (Express, Photoshop, Illustrator, etc.)
- URL Analysis: Analyze article URLs for SEO keywords
- Keyword Extraction: Get article, competitor, and suggested keywords
- Content Rewriting: SEO-optimized content rewriting with target keywords
- Modern UI: Built with Adobe Spectrum design system
Once running, open your browser and navigate to:
- Local: http://localhost:3000 (or your specified port)
- Network: http://[your-ip]:3000 (when using
--hostflag)
This frontend requires the SEO Backend API to be running:
# Backend should be running at:
http://127.0.0.1:8000
# Check backend health:
http://127.0.0.1:8000/health
# View API docs:
http://127.0.0.1:8000/docsIf port 3000 is already in use, specify a different port:
npm run dev -- --port 3001- Verify the backend is running at http://127.0.0.1:8000
- Check CORS settings in backend if getting cross-origin errors
- Ensure firewall/antivirus is not blocking the connection
Clear cache and reinstall dependencies:
rm -rf node_modules package-lock.json
npm install- Framework: React 18
- Build Tool: Vite
- UI Library: Adobe Spectrum
- HTTP Client: Fetch API
Build the application for production:
npm run buildThe build output will be in the dist/ directory.
Preview the production build:
npm run previewInternal Adobe Tool
For issues or questions, contact the development team.