Home

Awesome

Infinite Scroll Demo

<p align="center"> <img src="https://user-images.githubusercontent.com/46474346/138585064-5a8d7e92-ab4e-4845-8620-91ddbc31d066.png" width="200px"> </p> <p align="center"> A simple React JS + Appwrite project to demonstrate infinite scroll paging. </p>

Demo

https://user-images.githubusercontent.com/46474346/138588734-fbc26a33-ab23-4297-a449-082efbde9bce.mp4

Run locally

  1. Install Appwrite by following the installation guide.

  2. Open the Appwrite console and create a new project.

  3. Navigate to Database and add a new Collection called Photos.

  4. Add the following rules and permissions:

Rules:

LabelKeyTypeRequiredArrayDefault Value
UsernameusernameTexttruefalse
AvataravatarURLtruefalse
LocationlocationTextfalsefalse
ImageimageUrlURLtruefalse

Permissions:

Read Access: *

Write Access: *

  1. Clone this repo
  git clone https://github.com/SakshiUppoor/infinite-scroll-demo.git
  cd infinite-scroll-demo
  1. Install dependencies
  npm install
  1. From the Appwrite console, note down the API Endpoint, Project ID and Collection ID of the Photos Collection and enter these in src/config.js.

  2. The project is ready to run! :rocket:

  npm start

Acknowledgements