Inspiration
The reason behind building this was because there was no ease of use when sharing code with other people. People share it on WhatsApp or various platforms as plain text that does not have syntax highlighting.
What it does
It lets users simply paste their code, select a programming language for syntax highlight, and create the snip with visibility settings so that it is in control. Users can edit and also delete their snips.
How we built it
We chose the bleeding edge tech stack using Next.js, TypeScript, Tailwind CSS, Prisma ORM and Postgres as our database. That gave us insane performance and the compatibility of serverless
Challenges we ran into
Displaying the code, building the code editor, and working with visibility settings like private, public, and unlisted snips. As we don't want anyone but the author to see the private snips.
Accomplishments that we're proud of
We successfully built a working version that can be used in production on a good scale with a good amount of users. We plan on continuing it and making it even better by keeping it open source and valuing people's contributions
What we learned
We learned about team management, task delegation, user profile management, authentication, authorization and we mainly learned how we can work with displaying and having a code editor so that it looks the best on screen.
What's next for Snippy - The Perfect Code Sharing Platform
We plan on keeping it open source and we welcome all the contributions that come to make it even better with the support of the community
Built With
- code
- javascript
- nextjs
- orm
- prisma
- react
- supabase
- tailwind
- typescript
Log in or sign up for Devpost to join the conversation.