https://github.com/sharadcodes/appwrite-pastebin-devto-hackathon
DEV.to appwrite Hackathon Submission | AnonPaste webapp
https://github.com/sharadcodes/appwrite-pastebin-devto-hackathon
Last synced: 10 months ago
JSON representation
DEV.to appwrite Hackathon Submission | AnonPaste webapp
- Host: GitHub
- URL: https://github.com/sharadcodes/appwrite-pastebin-devto-hackathon
- Owner: sharadcodes
- License: mit
- Created: 2022-05-11T10:47:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-12T15:19:22.000Z (over 3 years ago)
- Last Synced: 2025-01-18T08:23:24.677Z (12 months ago)
- Language: Svelte
- Homepage: https://www.youtube.com/watch?v=9kno7tn_al4
- Size: 516 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DEV appwrite Hackathon project
## Anonymous PasteBin AKA AnonPaste
So I made this "AnonPaste" Anonymous PasteBin Project to test out the anonymous login functionality provided by `appwrite` and how it works behind the scenes.
The project is dead simple, it does following:
- As soon as you are on the create paste page you are automatically logged in using anonymous login.
- When you create a paste after providing `title` and `text` it saves and redirects the user to the `View Paste Page`.
- View Paste Page extracts the `ID` of the document AKA paste from the route and uses it to load the document AKA paste and show it to the user.
## Setup
- Clone repo.
- Install appwrite. Steps are at: https://appwrite.io/
- Cd to repo folder and `npm i`
- Open appwrite dashboard.
- Create a collection named `pastess` with following string fields:
- `txt` size `10000`.
- `title` & `code` with size `leave it as it is` LOL.
- Make sure anonymous login is enabled in settings of appwrite's dashboard.
- THE END
## Video Demo:
* https://youtu.be/9kno7tn_al4
[](https://www.youtube.com/watch?v=9kno7tn_al4)
## Screenshots:


