Code Monkey home page Code Monkey logo

playground-for-web's Introduction

Appwrite's Web Playground 🎮

Appwrite playground is a simple way to explore the Appwrite API & Web SDK. Use the source code of this page to learn how to use the different Appwrite Web SDK features.

Appwrite Playground

Get Started

The public/index.html file in this repository contains all the playground examples and source code.

You can learn how to to integrate your Appwrite Web SDK in your project and see how different features of the SDK can be used.

This playground doesn't include any Appwrite best practices but rather intended to show the most simple examples and use cases of using the Appwrite API.

Installation

NOTE: Commands are to be executed on Linux, Mac, and Windows(using Powershell)

  1. Fork this repository by clicking on the Fork button.
  2. Clone the repo by running the command
$ git clone https://github.com/Your_Username/playground-for-web.git
  1. Go inside the folder by command
$ cd playground-for-web
  1. Run the command to install node modules
$ npm install
  1. Start a web server by running using command
$ npm start
  1. Access the url http://localhost:8000 and start playing!

Don't forget to update Appwrite endpoint and project ID

Contributing

All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.

We truly ❤️ pull requests! If you wish to help, you can learn more about how you can contribute to this project in the contribution guide.

Security

For security issues, kindly email us [email protected] instead of posting a public issue in GitHub.

Follow Us

Join our growing community around the world! Follow us on Twitter, Facebook Page, Facebook Group or join our Discord Server for more help, ideas and discussions.

playground-for-web's People

Contributors

christyjacob4 avatar dependabot[bot] avatar eldadfux avatar helios1101 avatar lohanidamodar avatar meldiron avatar rsrinath14 avatar snyk-bot avatar torstendittmann avatar vermakhushboo avatar zerplin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

playground-for-web's Issues

Upgrade our issue templates to use GitHub issue forms ✍️

Introduction

GitHub has recently rolled out a public beta for their issue forms feature. This would allow you to create interactive issue templates and validate them 🤯.

Appwrite currently uses the older issue template format. Your task is to create GitHub issue forms for this repository. Please use Appwrite's issue templates as a reference for this PR.

Tasks summary:

  • Fork & clone this repository
  • Prepare bug report issue form in .github/ISSUE_TEMPLATE/bug.yaml
  • Prepare documentation issue form in .github/ISSUE_TEMPLATE/documentation.yaml
  • Prepare feature request issue form in .github/ISSUE_TEMPLATE/feature.yaml
  • Push changes to master and test issue forms on your fork
  • Submit pull request

If you need any help, reach out to us on our Discord server.

Are you ready to work on this issue? 🤔 Let us know, and we will assign it to you 😊

Happy Appwriting!

🐛 Bug Report: Upgrade to Appwrite 1.0

👟 Reproduction steps

Execute against latest Appwrite 1.0 version.

👍 Expected behavior

Everything functions

👎 Actual Behavior

Nothing is working

🎲 Appwrite version

Version 1.0.x

💻 Operating system

MacOS

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

I Found some Grammar mistakes in docs

💭 Description

Please assign me this issue, I'll fix it

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Not working with npm package v4.0.2

Hi, i just tried this example with the newest npm package version and somehow i can't get it to work.

Would be great to see this updated.

Thanks ahead :)

🐛 Bug Report: Error is shown, but user is still created

👟 Reproduction steps

Account Registration and other api endpoints are not stable or not idempotant.

I am using the below cdn

<script src="https://cdn.jsdelivr.net/npm/[email protected]" />

on debugging I its failing below, which is in Web SDK in /appwrite/src/services/account.ts


 const uri = new URL(this.client.config.endpoint + path);
            return await this.client.call('post', uri, {
                'content-type': 'application/json',
            }, payload);

abc143 register successful Screenshot 2023-01-31 100020

abc144 failed to create account Screenshot 2023-01-31 100433

appwrite console Screenshot 2023-01-31 100536

👍 Expected behavior

Ideally user is either created or not created.
users should be created as account api is called with necessary parameters

👎 Actual Behavior

I am getting different results for the same endpoint
As an example in the case of a register register endpoint.

case 1: account created successfully
I recieve a popup that account is created successfully.

case 2: account not created successfully but user is successfully entered in Appwrite auth console
you get a popup user not created but you can find them appwrite console

case 3: account not created successfully but user is not found in Appwrite auth console

🎲 Appwrite version

Version 1.2.x

💻 Operating system

Windows

🧱 Your Environment

web sdk
index.html on a live server

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

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.