Storenv is a secure environment variable storage and management solution built with Next.js 13, offering encrypted storage and easy access to your project configurations.
- Secure Storage: All environment variables are encrypted before being stored in the database
- User Authentication: Supports Google and GitHub authentication
- Project Management: Create, update, and delete environment configurations
- Easy Access: Copy individual variables or entire project configurations with one click
- Responsive Design: Works seamlessly across desktop and mobile devices
- Framework: Next.js 13 (App Router)
- Authentication: NextAuth.js
- Database: MongoDB with Mongoose
- Styling: Tailwind CSS
- Animation: Framer Motion
- Icons: Lucide React
- Encryption: Crypto-js
- Form Handling: React Hook Form
- Notifications: React Hot Toast
- Node.js 16.8 or later
- MongoDB database
- Google OAuth credentials
- GitHub OAuth credentials
- Clone the repository:
git clone https://github.com/gamandeepsingh/storenv
- Install dependencies:
npm install
- Create a
.env.
file in the root directory:
MONGODB_URI=your_mongodb_uri
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your_nextauth_secret
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
GITHUB_ID=your_github_client_id
GITHUB_SECRET=your_github_client_secret
ENCRYPTION_KEY=your_encryption_key
- Start the development server:
npm run dev
- Authentication: Sign in using Google or GitHub
- Create Project: Click "Add New Project" to create a new environment configuration
- Add Variables: Enter your environment variables with their corresponding values
- Manage Projects: View, edit, or delete your projects from the dashboard
- Copy Values: Use the copy buttons to copy individual variables or entire project configurations
- Environment variables are encrypted using AES-256 encryption
- Values are hidden by default and only shown when explicitly requested
- Authentication is required to access any stored data
- Each user can only access their own environment variables
Creates a new environment configuration
Retrieves all environment configurations for the authenticated user
Updates an existing environment configuration
Deletes an environment configuration
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Next.js team for the amazing framework
- Vercel for hosting
- MongoDB for database services
- NextAuth.js for authentication