A complete web development environment setup with VSCode, GitHub CLI, and CI/CD pipeline.
- Open in VSCode:
code . - Start development server:
npm start - Open browser: Visit
http://localhost:3000
- VSCode with essential extensions
- GitHub CLI for seamless Git operations
- Live Server for real-time preview
- Prettier for code formatting
- ESLint for code linting
- CI/CD Pipeline with GitHub Actions
npm start- Start development server with live reloadnpm run build- Build and validate the projectnpm run format- Format code with Prettiernpm run lint- Lint JavaScript codenpm run preview- Preview built site
The following extensions are installed for optimal web development:
- Live Server - Real-time preview
- Prettier - Code formatting
- ESLint - JavaScript linting
- Auto Rename Tag - HTML tag synchronization
- GitHub Pull Requests - GitHub integration
- HTML CSS Support - Enhanced HTML/CSS support
- CSS Peek - CSS class navigation
- Path Intellisense - File path autocompletion
The project includes a GitHub Actions workflow that:
- Lints your code
- Formats code with Prettier
- Builds the project
- Deploys to GitHub Pages automatically
sample-website/
├── index.html # Main HTML file
├── styles.css # CSS styles
├── script.js # JavaScript functionality
├── package.json # Dependencies and scripts
├── .prettierrc # Prettier configuration
├── .eslintrc.json # ESLint configuration
└── .github/
└── workflows/
└── deploy.yml # GitHub Actions workflow
- Live Preview: Changes appear instantly in browser
- Hot Reload: Automatic refresh on file changes
- Visual Editing: VSCode provides rich editing experience
- Real-time Feedback: Immediate error detection and formatting
Push to main branch to automatically deploy to GitHub Pages via the CI/CD pipeline.
This environment is ready for modern web development with all tools configured and integrated.