Giter Site home page Giter Site logo
React logo

Appwrite logo

Gorgeous library for integrating React with Appwrite.

Latest npm version MIT license GitHub issues


Features

✅ Realtime updates for everything

✅ Next.js middleware support

✅ React Server Components (RSC) support

✅ Optimized for performance with minimal re-renders

✅ Incredibly simple API

✅ Fully typed, written 100% in TypeScript

✅ Eventual feature parity with the Appwrite SDK

Supported Services

This library is a work in progress. The intent is to eventually reach 100% feature parity with Appwrite.

Table of Contents

Installation

npm i react-appwrite appwrite

Configuration

import { Client } from 'appwrite'
import { AppwriteProvider } from 'react-appwrite'

const appwrite = new Client()
  .setEndpoint('https://my-appwrite-url.com')
  .setProject('myAppwriteProjectId')

function App() {
  return (
    <AppwriteProvider
      client={appwrite}
    >
      {
        // ...
      }
    </AppwriteProvider>
  )
}

This library is powered by react-query. Hooks follow this format.

const { data, isLoading } = useHook(...)

Contributing

Note We're looking for maintainers! Leave a comment if you'd like to help out.

Follow these steps to get started with local development.

  1. Clone the repository.
git clone https://github.com/react-appwrite/react-appwrite.git
cd react-appwrite
  1. Install dependencies.
npm i
  1. Execute the development script.
npm run dev

Follow these extra steps if you'd like to test with the provided example project.

  1. In another terminal, navigate to the example directory.
cd example
  1. Create your .env file.
cp .env.example .env
  1. Replace the environment variables in .env with your own.

  2. Install dependencies.

npm i
  1. Execute development script.
npm run dev

License

MIT

Vercel logo

react-appwrite's Projects

docs icon docs

Our documentation website.

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.