Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loftwah/apptizle.io
Apptizle.io is a cloud hosted version of Appwrite.io. I have put this together as part of Hacktoberfest.
https://github.com/loftwah/apptizle.io
android appwrite flutter hacktoberfest ios php web
Last synced: 10 days ago
JSON representation
Apptizle.io is a cloud hosted version of Appwrite.io. I have put this together as part of Hacktoberfest.
- Host: GitHub
- URL: https://github.com/loftwah/apptizle.io
- Owner: loftwah
- Created: 2021-09-30T11:29:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-04T08:21:37.000Z (over 3 years ago)
- Last Synced: 2024-12-17T23:09:29.082Z (2 months ago)
- Topics: android, appwrite, flutter, hacktoberfest, ios, php, web
- Homepage: https://apptizle.io
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# apptizle.io

I'm not 100% what this is for now but it will be fun :)
## Getting started
You will need a fresh install of Ubuntu 20.04 or similar. I will be using Ubuntu 20.04 for this project so if you are using a different operating system, or distro you'll need to adjust accordingly.
### Install dependencies
Download the install script and install Docker.
```shell
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
```Once Docker is running and you are happy with it, set up Appwrite.
```shell
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:0.10.4
```Appwrite should be up and running now, and you can view it on localhost with the port you have set. The initial sign up page should be displayed.

To use with NPM (node package manager) you can use the following command. I suggest creating a directory for your project.
```shell
npm install appwrite
```Or for webpack
```json
import { Appwrite } from "appwrite";
```Or to simply use it from a CDN for playing around, or just developing
```html
```
An example of using the Appwrite SDK in JavaScript
```javascript
// Init your Web SDK
const appwrite = new Appwrite();appwrite
.setEndpoint('http://localhost:8098/v1') // Your Appwrite Endpoint
.setProject('615968912d022') // Your project ID// Register User
appwrite
.account.create('[email protected]', 'Password01', 'Dean Lofts')
.then(response => {
console.log(response);
}, error => {
console.log(error);
});// Subscribe to files channel
appwrite.subscribe('files', response => {
if(response.event === 'storage.files.create') {
// Log when a new file is uploaded
console.log(response.payload);
}
});
```