Code Monkey home page Code Monkey logo

demo-todo-with-vue's Introduction

๐Ÿ”– Todo With Vue

Easter Eggs Claimed

A simple todo app built with Appwrite and Vue

If you simply want to try out the App, go ahead and check out the demo at https://appwrite-todo-with-vue.vercel.app/

๐ŸŽฌ Getting Started

๐Ÿค˜ Install Appwrite

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.

  1. Add a new Web App in Appwrite and enter the endpoint of your website (localhost, <project-name>.vercel.app etc) Appwrite Console

  2. Create a new collection with the following properties

  • Attributes Add the following attributes to the collection.

Make sure that your Attribute ID exactly matches the key in the images

Content Attribute

IsComplete Attribute

  • Permissions Add the following permissions to your collection. These permissions ensure that only registered users can access the collection.

Collection Permissions

๐Ÿš€ Deploy the Front End

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.

  • VITE_APP_ENDPOINT - Your Appwrite endpoint
  • VITE_APP_PROJECT - Your Appwrite project ID
  • VITE_APP_COLLECTION_ID - Your Appwrite collection ID
  • VITE_APP_DATABASE_ID - Your Appwrite database ID

Deploy to a Static Hosting Provider

Use the following buttons to deploy to your favourite hosting provider in one click! We support Vercel, Netlify and DigitalOcean. You will need to enter the environment variables above when prompted.

Note: Vercel is unable to auto detect the framework so please use the Vue Framework in case of vercel.

Deploy with Vercel

Deploy to Heroku

Deploy to Netlify

Deploy to DO

Run locally

Follow these instructions to run the demo app locally

$ git clone https://github.com/appwrite/todo-with-vue
$ cd todo-with-vue

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

๐Ÿค• Support

If you get stuck anywhere, hop onto one of our support channels in discord and we'd be delighted to help you out ๐Ÿค

๐Ÿ˜ง Help Wanted

Our access credentials were recently compromised and someone tried to ruin these demos. They decided to leave behind 15 easter eggs ๐Ÿฅš for you to discover. If you find them, submit a PR cleaning up that section of the code (One PR per person across all the repos). You can track the number of claimed Easter Eggs using the badge at the top.

The first 15 people to get their PRs merged will receive some Appwrite Swags ๐Ÿคฉ . Just head over to our Discord channel and share your PR link with us.

UPDATE 17-11-2021: The easter egg contest is now closed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.