A simple todo app built with Appwrite and Svelte modified from: Appwrite Repository
If you simply want to try out the App, go ahead and check out the demo at https://todo.oil.my.id/
Follow our simple Installation Guide to get Appwrite up and running in no time. You can either deploy Appwrite on your local machine or, on any cloud provider of your choice.
Note: If you setup Appwrite on your local machine, you will need to create a public IP so that your hosted frontend can access it.
We need to make a few configuration changes to your Appwrite server.
Add a new Web App in Appwrite and enter the endpoint of your website (localhost, <project-name>.vercel.app etc
)
Create a new collection with the following properties
Make sure that your Attribute ID exactly matches the key in the images
You have two options to deploy the front-end and we will cover both of them here. In either case, you will need to fill in these environment variables that help your frontend connect to Appwrite.
Follow these instructions to run the demo app locally
$ git clone https://github.com/appwrite/todo-with-svelte
$ cd todo-with-svelte
Run the following command to generate your .env
vars
$ cp .env.example .env
Now fill in the envrionment variables we discussed above in your .env
Now run the following commands and you should be good to go 💪🏼
$ npm install
$ npm run dev