CodeCache is a web application designed for developers to efficiently manage and access code snippets. With features like authentication, a responsive design, and a user-friendly interface, CodeCache aims to streamline code snippet management and enhance developer productivity. π
- Code Snippet Management: Save, view, and organize code snippets with metadata including language, tags, and descriptions. ποΈ
- Authentication: Secure user authentication with Clerk. π
- Responsive Design: Built with TailwindCSS for a modern and adaptable layout. π±
- User-Friendly Interface: Intuitive design for easy interaction with code snippets. π¨
To get started with CodeCache, follow these steps:
- Node.js: Ensure you have Node.js installed. Download Node.js
- Bun: Install Bun if you haven't already. Install Bun
-
Clone the Repository
First, clone the repository from GitHub to your local machine:
git clone https://github.com/notsoocool/codecache.git cd codecache
-
Install Dependencies
Use Bun to install the necessary dependencies for the project:
bun install
-
Create Environment Variables
Create a
.env.local
file from the.env.sample
file provided:cp .env.sample .env.local
Update the
.env.local
file with your MongoDB connection string and other necessary environment variables. -
Run the Development Server
Start the development server using Bun:
bun dev
Open your browser and go to
http://localhost:3000
to view the application. π
-
Homepage: The homepage serves as the central hub of CodeCache, offering a comprehensive introduction to the application. It features a well-structured header and footer for seamless navigation, ensuring users can easily access different sections of the site. The homepage highlights the core functionalities of CodeCache, providing users with an overview of what they can achieve with the platform. π
-
Authentication: CodeCache employs Clerk for secure user authentication, ensuring that only authorized users can access personalized features. The authentication process is straightforward, allowing users to sign in quickly and securely. Once authenticated, users can enjoy a tailored experience, with access to their saved snippets and personalized settings. π
-
Snippet Management: One of the key features of CodeCache is its robust snippet management system. Users can effortlessly add new code snippets, view existing ones, and organize them using various metadata such as language, tags, and descriptions. The intuitive interface makes it easy to manage snippets, ensuring that users can quickly find and utilize their code snippets when needed. π
-
Create Environment Variables
Create a
.env.local
file from the.env.sample
file provided:cp .env.sample .env.local
Update the
.env.local
file with your MongoDB connection string and other necessary environment variables. -
Run the Development Server
bun dev
Open your browser and go to
http://localhost:3000
to view the application. π
- Homepage: Provides an introduction to CodeCache and features a header and footer for navigation. π
- Authentication: Sign in using Clerk to access personalized features. π
- Snippet Management: Add, view, and organize code snippets through the provided interface. π
We welcome contributions to CodeCache! To contribute:
-
Fork the repository π΄
Fork the repository by clicking the Fork button on the top right-corner.
-
Clone your forked repository π₯οΈ
Clone the forked repository to your local machine:
git clone https://github.com/your-username/codecache.git cd codecache
-
Create a new branch π±
Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature
-
Make your changes β¨
Make the necessary changes to the codebase. Ensure your code follows the project's coding standards and conventions.
-
Commit your changes πΎ
Commit your changes with a descriptive commit message:
git add . git commit -m "Add feature: your-feature"
-
Push your changes π
Push your changes to your forked repository:
git push origin feature/your-feature
-
Create a pull request π
Go to the original repository on GitHub and click the "New pull request" button. Select your branch from the "compare" dropdown and submit the pull request.
For more detailed instructions, refer to the GitHub documentation on creating a pull request.
Thank you for contributing to CodeCache! Your help is greatly appreciated. π
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or support, please reach out to vyasyajush@gmail.com.
Join us in building CodeCache with notsoocool! π
Explore the project on GitHub and join our community to contribute, provide feedback, or stay updated with our latest developments. π¬
We are immensely grateful to the following amazing individuals who have contributed their time, effort, and expertise to make this project better. Your contributions, whether through code, documentation, bug reports, or feature suggestions, have been invaluable. Thank you for helping us build and improve CodeCache! πβ¨
Your dedication and hard work are what drive this project forward, and we couldn't have done it without you. Each contribution, no matter how small, plays a crucial role in our journey towards creating a more efficient and user-friendly tool for developers. ππ»
We look forward to your continued support and collaboration. Together, we can achieve even greater heights! ππ
Thank you once again to all our contributors! Your efforts are truly appreciated. ππ