A lightweight and flexible code snippet manager with built-in version control, public & secret snippets, and multi-file support.
β Version Control β Keep track of snippet changes over time.
β Supports Multiple Files β Each snippet can have multiple associated files.
β Public & Secret Snippets β Share code with the world or keep it private.
β Google Authentication β Secure login with Google OAuth.
π Postman API Docs: (https://documenter.getpostman.com/view/21272460/2sAYXEFJpg)
π Figma Prototype: (https://www.figma.com/design/zNWijW6x66dZ4hgGOKQDOQ/CodeGists)
Collections:
π snippets
π files
π versions
π users
GET /api/auth/login/googleβ Login via GoogleGET /api/auth/login/google/callbackβ Handle Google OAuth callback
GET /api/snippets/{userName}β Fetch all snippets by userGET /api/snippets/{userName}/{snippetId}β Fetch a specific snippetPOST /api/snippets/{userName}β Create a new snippetPUT /api/snippets/{userName}/{snippetId}β Update a snippetDELETE /api/snippets/{userName}/{snippetId}β Delete a snippet
GET /api/files/{userName}/{snippetId}β Fetch all files in a snippetGET /api/files/{userName}/{snippetId}/{fileId}β Fetch a specific fileGET /api/files/{userName}/{snippetId}/versionsβ Fetch snippet version historyPOST /api/files/{userName}/{snippetId}β Upload a new filePUT /api/files/{userName}/{snippetId}/{fileId}β Update a fileDELETE /api/files/{userName}/{snippetId}β Delete a file
