- I love exploring different tech frameworks, libraries , learning new programming concepts and working on coding projects. There are times, where I feel that I should save code blocks for future reference related to new framework or bug fixes. Saving this code blocks could be really helpful and save time in future. Hence, I decided to create this platform that could help users to save their coding snippets for future reference.
- Moreover, I have integrated the website with a dashboard where users can convert their stored snippets directly into customized images and download and share it as part of their blogs or on their social media handles.
- SnipSnap is a basically a one-stop platform for users to save all their important coding snippets at one place so that they can refer to them later. It is integrated with overall CRUD functionality to modify the snippets stored.
- Further, the user is provided with an option of creating a snap. By clicking on this, the user is navigated to their dashboard where they can convert their code snippet to customized image in seconds.
- I used the supabase dataprovider by refine to connect by React app with the database, which really simplified the backend connection process.
- I created the refine app integrated with the Chakra UI frmaework which saved me time as I didn't had to install it seperately or do the basic setup.
- Similarly for routing, the basic template was provided by Refine and I could just modify it depending on my needs
- The Refine Tutorials and Examples were also really helpful for me while I was implementing the CRUD pages.
- Used Refine - which is a React based framework for the Frontend Development of the application.
- Used Supabase as my database
- Used Chakra UI as the UI library
- Used additional react packages for syntax highlighting, converting html to image canvas etc.
- Integrate complete authentication
- Add the functionality for users to share the snippets to social media apps without downloading
- More customization options like adding text, icons to images etc.
- Further, the website can also be converted into a social application where users can share snippets among each other and have discussion thread related to that
Youtube Video Link - https://www.youtube.com/watch?v=_xyMwTspm_0
- Clone the repository:
git clone https://github.com/drishtipeshwani/SnipSnap
- Change directory and install dependencies:
cd codesnippets
npm install
- Create a new Supabase project and inside that add a new table named snippets with following columns:
- Add your Supabse URL and KEY under src/utility/supabaseClient.ts as shown below:
- Run website on local server:
npm run dev






