GithubHelp home page GithubHelp logo

appwrite-react-quickstart's Introduction

Appwrite ๐Ÿค React

Appwrite + React fullstack todo app with integrated auth.

Understanding Folder Structure

This project is part of a multi part video series, so our folders are structured in a way to represent the code at the end of each video. i.e. Video 1 == Part 1, and so on.

Part Topic Description View
1 CRUD Basic setup and CRUD with Appwrite + React View
2 Theme Switcher Added theme switcher View
2 Theme Switcher (Template Only) Theme switcher with no backend. View
3 Authentication Login, Logout, Registration & Protected Routes View

See tutorial part 1 here: https://youtu.be/_JDeJgsU-bI

Setup instructions

Before you can clone and setup a local instance of this project you'll need to setup an Appwrite backend and gain the nessesary credentials + have the correct database setup and permisisons configured.

Setting up appwrite backend

  1. Create a new appwrite project + app. Easiest way to get started is by heading to appwrite.io

  2. Add a platform and set hostname registration

This can be done by going to overview -> Add Platform -> Web App.

  1. Add a user

  2. Add a database and a collection

Add the following attributes in your collection

Name Type Details
body string 100 chars
completed boolean Default to false
  1. Set collection perissions

This can be done under from your collection tab unde settings -> permissions.

Set permissions to users + create

Enable document level security

Setup local repo

Clone Repo Clone repo: git clone <repo url>

Add .env file and fill in your Appwrite project credentials:

VITE_PROJECT_ID=YOUR-PROJECT-ID
VITE_DATABASE_ID=YOUR-DATABASE-ID
VITE_COLLECTION_TASKS=YOUR-COLLECTION-ID
  • cd <PART #>
  • npm i && npm run dev

appwrite-react-quickstart's People

Contributors

divanov11 avatar

Stargazers

Wassim Rahali avatar Raghavendran avatar Felipe Borges avatar Tech_Dev<codeCrafter/> avatar Jin.xiaoman avatar Mehedi Hasan Siam avatar Himal Bissessar avatar Mike Teddy Omondi avatar Tamir avatar Mehedi Hasan Siam avatar  avatar Ravi Bagdi avatar

Watchers

 avatar

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.