An Interest In:
Web News this Week
- April 2, 2024
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
May 12, 2022 03:00 pm GMT
Original Link: https://dev.to/sharadcodes/created-anonpastebin-using-appwrites-anonymous-login-functionality-2k1c
Created AnonPasteBin Using appwrite's Anonymous Login functionality
Overview of My Submission
I came to know about appwrite on March 11th so had literally 1 day to submit the project...... but it turns out it's a dead simple setup for any developer and I've to say it's an amazing dev experience.
So I made this Anonymous Pastebin Project AKA "AnonPaste" 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.
Submission Category:
- Web2 Wizards
Link to Code
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 fieldstxt
size10000
.title
&code
with sizeleave it as
Additional Resources / Info
Video Demo:
Screenshots:
Original Link: https://dev.to/sharadcodes/created-anonpastebin-using-appwrites-anonymous-login-functionality-2k1c
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To