Skip to content

A place created to help developers store and retrieve their reusable codes

Notifications You must be signed in to change notification settings

CHVong/CodeSnippets

Repository files navigation

CodeSnippets: A Place for Developers to Store and Retrieve Reusable Codes

CodeSnippets is a web application that helps developers save time and effort by storing/retrieving their reusable codes. You can build your own personal library of code snippets, easily integrate them into your projects, and explore other snippets created by the community.

Home Page

Demo

Visit https://codesnippets.vercel.app/

Explore as a guest or login with Discord, Github, or Google for full site functionality

Features

  • Snippets: View and edit your collections at any time.
  • Syntax Highlighting: Highlight your code with language selections.
  • Syntax Formatting: Keep your code syntax formatted exactly how you pasted them.
  • Explore: Browse, search, and filter to discover new snippets.
  • Create: Add and save to your collection of code snippets.
  • Favorites/Comments: Favorite to save other user's snippets and leave comments for discussions.
  • Public/Private: Enable or disable sharing for your individual snippets.
  • Sharing: Access to individual snippet info links.
  • Profile: Track personal statistics, update bio/status or delete your account.
Profile Page

Tech Stack

  • Meta-framework: Next.js with Typescript
  • UI Framework: TailwindCSS with DaisyUI
  • Frontend: React.js
  • Backend/API: Next.js API routes and server-side rendering
  • Database: PostgreSQL with Prisma ORM
  • Authentication: NextAuth.js
  • State Management: Tanstack Query (React-Query)
  • Testing: Jest
  • Code Editor: React Simple Code Editor with PrismJS highlighting
  • Hosting: Vercel

Contributing

Contributions are always welcome!

See CONTRIBUTING.md for ways to get started.

About

A place created to help developers store and retrieve their reusable codes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published