Photoz
Photoz is an image gallery app.
Getting Started
Appwrite
- Follow this guide to install appwrite in your machine or in cloud.
- After the successful installation of appwrite open your appwrite console. (default url for local appwrite installation is http://localhost:80/ or https://localhost:443/) Create a project and add a web platform in it.
- For this project, go to Database and create a collection. You can name the collection whatever you like but collection id should be
images
or you can give the id of your liking but change it in thesrc/services/database.api.js
. This collection should have a read access ofrole:all
and write access ofrole:member
. - You need to create the following attributes in that collection.
Attribute ID | Type | Required |
---|---|---|
title | string | required |
url | string(url) | required |
user_id | string | required |
tags | string[] |
And one index to query the data.
Index Key | Type | Attributes |
---|---|---|
user_id | key | user_id (ASC) |
Appwrite Doc…