A powerful, user-friendly interface for managing environment variables across Development, Preview, and Production environments with a change-sets approach for safe deployments.
- Multi-Environment Management: Seamlessly manage variables across Development, Preview, and Production environments
- Change-Sets Workflow: Review and apply changes safely using Git-like change-sets
- Secret Management: Secure handling of sensitive variables with masked display
- Bulk Operations: Import/export variables in JSON or key-value format
- Real-time Search & Filtering: Advanced search with environment and secret filters
- Interactive Walkthrough: Guided tour for new users
- Modern Design: Clean, professional interface with dark/light mode support
- Responsive Layout: Optimized for desktop and tablet use
- Smooth Animations: Subtle Framer Motion animations for enhanced UX
- Intuitive Controls: Drag & drop, keyboard shortcuts, and contextual menus
- Conflict Detection: Automatically detect and resolve conflicts
- Change Preview: Review all modifications before applying
- Rollback Support: Safely revert changes if needed
- Audit Trail: Track all variable changes with timestamps
- Frontend: Next.js 15, React 19, TypeScript
- Styling: Tailwind CSS with custom design system
- Animations: Framer Motion for smooth interactions
- State Management: Zustand for global state
- UI Components: Radix UI primitives with custom styling
- Icons: Lucide React
- Storage: Local storage with sync capabilities
- Node.js 18+
- npm or yarn package manager
-
Clone the repository
git clone https://github.com/adeelibr/environment-variables-ui-concept.git cd environment-variables-ui-concept -
Install dependencies
npm install --legacy-peer-deps
-
Start development server
npm run dev
-
Open your browser Navigate to http://localhost:3000
npm run build
npm start-
Add New Variable
- Click the "Add Variable" button
- Enter variable name (e.g.,
API_KEY) - Set values for desired environments
- Mark as secret if needed
- Submit to add to change-set
-
Edit Existing Variables
- Click any variable card or use the edit button
- Modify values in the quick-edit panel
- Changes are automatically added to the current change-set
-
Bulk Operations
- Use "Bulk Import" to upload multiple variables
- Supports JSON and key-value formats
- Export current variables for backup or migration
-
Create Change-Set
- Changes are automatically grouped into change-sets
- Review all pending modifications in the drawer
-
Review Changes
- Click "Review Changes" to see diff view
- Resolve any conflicts highlighted in red
- Preview the impact on each environment
-
Apply Changes
- Once reviewed, click "Apply" to make changes live
- Changes are applied atomically across all environments
- Search: Type in the search bar to filter variables by name
- Environment Filter: Toggle environments to show only relevant variables
- Secret Filter: Show only secret variables when needed
- Sort Options: Sort by name, creation date, or update time
The application supports three standard environments:
- Development: For local development and testing
- Preview: For staging and pre-production testing
- Production: For live production applications
Key configuration files:
lib/constants.ts- Environment definitions and labelsapp/globals.css- Theme colors and animationstypes/env-vars.ts- TypeScript type definitions
The application supports both light and dark themes. Customize colors in:
/* app/globals.css */
:root {
--primary: /* Your primary color */
--background: /* Background color */
--foreground: /* Text color */
/* ... more variables */
}We welcome contributions! Please see CONTRIBUTIONS.md for detailed guidelines.
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Connect your GitHub repository to Vercel
- Deploy automatically on every push
- Environment variables are managed through Vercel dashboard
The application can be deployed to any platform supporting Next.js:
- Netlify
- AWS Amplify
- Railway
- Heroku
- Chrome 88+
- Firefox 78+
- Safari 14+
- Edge 88+
Build Errors:
- Ensure Node.js 18+ is installed
- Clear cache:
npm run clean(if available) - Reinstall dependencies:
rm -rf node_modules && npm install
Animation Issues:
- Check Framer Motion compatibility
- Verify browser support for CSS animations
State Persistence:
- Check browser local storage limits
- Clear application data if corrupted
- Documentation: Check this README and inline code comments
- Issues: Open a GitHub issue for bugs or feature requests
- Discussions: Use GitHub Discussions for questions
Built with β€οΈ using v0.app and enhanced with modern tooling.