Giter Site home page Giter Site logo

gasaroleila / awesome-appwrite-snippets Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 2002bishwajeet/awesome-appwrite-snippets

0.0 0.0 0.0 757 KB

Collection of common Appwrite APIs into snippets

Home Page: https://marketplace.visualstudio.com/items?itemName=Biswa.awesome-appwrite-snippets

License: MIT License

awesome-appwrite-snippets's Introduction

Awesome Appwrite Snippets

Awesome Appwrite Snippets is a collection of commonly used Appwrite APIs. It increases your speed of development by eliminating most of the boilerplate code associated with making using Appwrite in your Project.

example

Features

  • Speeds up development
  • Eliminates boilerplate
Shortcut Description
client Create a Client and initialize it
dartclient Create a Dart Client object and initialize it
account Create an Account object and initialize it
crAccount Create a new Account
createAccountSession Create a new Account Session
crsessionOAuth2 Create a new Account Session with OAuth2
magicUrl Create a new account session with Magic Url
updatemagicUrl Update Magic URL session
createAnonymousSession Create a new Anonymous Session
storage Create a Storage object and initialize it.
createFile Create a new file.
updateFile Update a file by its unique ID.
document Create a Document object and initialize it.
createDocument Create a new Document.
updateDocument Update a document by its unique ID.
team Create a Team object and initialize it.
crTeamMembership Create a new Team Membership.
updateTeamMembershiproles Update a team membership by its unique ID.

Known Issues

At this time, there are no known issues. If you discover a bug or would like to see a shortcut added, please create a pull request at our GitHub page.

Contributing

Contributions are highly Welcomed ๐Ÿ’™ . Feel free to open PRs for small issues such as typos. For large issues or features, please open an issue or create a discussion first.

How to do it

Fork the repository and create a new branch.

git clone <your-forked-repo>

git checkout -b <new-branch-name>
# Fix some code...

git commit -m "Fix typo in README.md"

git push origin <new-branch-name>

The commit naming follows this structure

###To add new snippets

  1. Create a new file in the snippets directory of the format <name>.code-snippets. If the name convention exists already, just add them in that file.
  2. To add a new snippet, replace the following skeletion code.
    "snippetName": {
        "scope" : "<lang>", // Add the language scope here. For e.g `dart`
        "prefix" : "<suitable-prefix-name>", // Add the prefix which tells vscode that this snippet is being called
        "body" : "<snippet-body>", // Add the snippet body here.
        "description": "<snippet-description>" // Add the snippet description here.
    }

Follow this page to create snippet body.

Roadmap

[ ] Add Snippets for more languages [ ] Cover more Appwrite APIs and convert them to snippets

awesome-appwrite-snippets's People

Contributors

2002bishwajeet avatar imgbotapp avatar

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.