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
andtext
it saves and redirects the user to theView 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
size10000
. -
title
&code
with sizeleave it as
…
-