In the last article tutorial, I show you how to use stackblitz and Next JS.
Today I will show you how to use this online tool named appwrite.io.
One an account on that website and using this URL: https://cloud.appwrite.io/register.
It seems that it is sensitive to the email address, so I used the yahoo address.
I created a project and from the left area menu on Overview, I select Add a Platform – Web App with these settings: nextjsthreejs001 and *.vercel.app.
These are my settings from the last tutorial.
You can find a more complex example on the GitHub account of this project.
Then use the Next button and follow the steps to install this on the stackblitz online editor:
1 | npm install appwrite |
Add the source code provided by this website into the project:
1 2 3 4 5 | import { Client, Account, ID } from 'appwrite'; const client = new Client(); client .setEndpoint('https://cloud.appwrite.io/v1') .setProject('_my_id_project_'); |
Run the project and you will see this works well: