Skip to content

Your hassle-free solution for developers to organize, store, and access code snippets efficiently, enhancing productivity and focus in the development workflow.

Notifications You must be signed in to change notification settings

MeerUzairWasHere/ezSnippets

Repository files navigation


Logo

ezSnippets

Code, Organize, Access.

Explore the docs »

View Demo . Report Bug . Request Feature

Downloads Contributors Forks Stargazers Issues License

Table Of Contents

About The Project

Screen Shot

ezSnippets is a powerful web application designed to simplify code snippet management for developers of all levels. Our mission is to provide a seamless and efficient solution for organizing and accessing code snippets, ultimately enhancing productivity and streamlining the development workflow.

Built With

e constructed ezSnippets using a robust combination of frameworks and tools to ensure a seamless experience for our users:

  • Frontend: Next.js powers the frontend user interface, providing flexibility and performance.
  • Backend: Mongoose and MongoDB handle efficient data storage and management, ensuring reliability and scalability.
  • Authentication: Clerk streamlines user authentication and management, prioritizing security and ease of use.
  • UI Design: TailwindCSS, along with either Shadcn-ui, enables customizable and visually appealing user interfaces.
  • Data Fetching: React Query enhances data fetching capabilities, optimizing performance and responsiveness.

These frameworks and tools form the foundation of ezSnippets, empowering developers to organize and access their code snippets with ease while ensuring a delightful user experience.

Getting Started

Installation Instructions

To install and set up ezSnippets locally, follow these steps carefully:

Prerequisites

Ensure you have the following installed on your local machine:

  • Node.js
  • MongoDB

Installation Steps

  1. Clone the repository to your local machine:
git clone https://github.com/your-username/ezSnippets.git
  1. Navigate to the project directory:
cd ezSnippets
  1. Install dependencies using npm:
npm install

Configuration

  1. Set up your MongoDB database and obtain the connection URI.

  2. Create a .env file in the root directory of the project.

  3. Add the following environment variables to your .env file:

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_bGl0ZXJhdGUtYmFib29uLTM0LmNsZXJrLmFjY291bnRzLmRldiQ
CLERK_SECRET_KEY=sk_test_n7Ym4r2mbLw3LHKfAjHUHxqfJNUbf8xWrVbpbl9ort
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/snippets
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/snippets
MONGODB_URI=mongodb+srv://username:password@your-mongodb-uri/ezSnippets?retryWrites=true&w=majority

Replace your-mongodb-uri, username, and password with your MongoDB connection URI credentials.

Running the Application

  1. Start the development server:
npm run dev
  1. Access ezSnippets in your browser at http://localhost:3000.

That's it!

You have successfully installed and configured ezSnippets locally on your machine. Start organizing your code snippets effortlessly! 🚀

Usage

Examples of ezSnippets Usage

1. User Registration and Login

Easily register and log in to your ezSnippets account using Clerk authentication. Seamlessly manage your code snippets with secure access.

2. Code Snippet Management

Effortlessly save, categorize, and retrieve your code snippets with ezSnippets. Add descriptive tags for easy organization and quick access during development.

3. Clipboard Integration

Integrate ezSnippets with your clipboard for efficient code reuse. Swiftly copy code snippets to use in your projects without interrupting your workflow.

4. Responsive Design

Enjoy a seamless experience across different devices and screen sizes with ezSnippets' responsive design. Access your code snippets anytime, anywhere.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  • If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
  • Please make sure you check your spelling and grammar.
  • Create individual PR for each suggestion.
  • Please also read through the Code Of Conduct before posting your first idea as well.

Creating A Pull Request

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

About

Your hassle-free solution for developers to organize, store, and access code snippets efficiently, enhancing productivity and focus in the development workflow.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published