awesome-appwrite-snippets icon indicating copy to clipboard operation
awesome-appwrite-snippets copied to clipboard

Add more Server side SDKs Snippets

Open 2002Bishwajeet opened this issue 3 years ago β€’ 20 comments

Introduction

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.

Your task is to implement add snippets support for more server-side APIs. You can look at the existing snippets in the coding language (for now JS and Dart) you prefer to see how it works.

Task Summary

  • [ ] Fork & clone this repository
  • [ ] create feat-x-api-y-lang-snippet branch where x is the REST-API you are implementing and y is the name of the language
  • [ ] Write code in the folder /snippets/client where client is the folder for which snippets you are adding (dart for adding snippets for dart language). If the folder doesn't exist for the language you are creating, create a new folder.
  • [ ] Name should be in the form of X.code-snippets where X is the REST API (example: Account) in lowercase. Add the snippets. To add snippets refer to the contributing.md guide.
  • [ ] Test your snippets locally.
  • [ ] If everything works perfectly, it's time to update the readme section. Look at the readme to see the structure of how it's done. Applicable only for adding snippets for new APIs.
  • [ ] Make a PR and just wait for the maintainer to review it😎.

If you need any help, reach out to #Maniac_Fighter#3747 on Appwrite Discord server or comment on this issueπŸ˜‰. Are you ready to work on this issue? πŸ€” Let me know, and I will assign it to you 😊. Since there are a lot of snippets to work on, this issue can be assigned to multiple people. You can add snippets in your favorite language🀯. When requesting to be assigned, please mention which language would you like to use.

Assignees table

βœ… = Done - This language has already been finished βš’ = In progress - Someone is already working on this language ❌ = Unassigned yet - This language can be assigned to you

Server Side

REST APIs Dart Node.js Swift Deno Python Ruby PHP Kotlin
Client βœ… βœ… ❌ ❌ βš’@pranavajith ❌ ❌ βœ…
Account βœ… ❌ ❌ ❌ βš’@pranavajith ❌ ❌ βœ…
Database ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌
Storage ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌
Teams ❌ ❌ ❌ ❌ ❌ ❌ ❌ βœ…
Functions ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌
Localizations ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌
Avatars ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌
Health ❌ ❌ ❌ ❌ ❌ ❌ βœ… βœ…
Users ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌

Happy Contributing ✨

2002Bishwajeet avatar Sep 30 '22 13:09 2002Bishwajeet

@2002Bishwajeet Hey there πŸ‘‹ I would love to work on PHP snippets πŸ˜‡

Meldiron avatar Oct 06 '22 16:10 Meldiron

Hey @Meldiron πŸ‘‹, Assigned to you. All the bestπŸ˜„

2002Bishwajeet avatar Oct 06 '22 16:10 2002Bishwajeet

Hey @2002Bishwajeet, wouldn't the dart snippets be similar (or same) compared to the ones in flutter?

Rajat379 avatar Oct 07 '22 17:10 Rajat379

Hey @2002Bishwajeet, wouldn't the dart snippets be similar (or same) compared to the ones in flutter?

I agree that some APIs are common with the Flutter Client SDK and Dart Server SDK but there are many more services and APIs are present which isn't present inside the Client SDK so its best to have a separate category for it

2002Bishwajeet avatar Oct 07 '22 19:10 2002Bishwajeet

Okay so should I firstly make a single PR covering all the cases of Dart Server ones which are overlapping?

Rajat379 avatar Oct 07 '22 20:10 Rajat379

Okay so should I firstly make a single PR covering all the cases of Dart Server ones which are overlapping?

Yep, you should follow the similar standard. However, I would recommend you make snippets for a single service in a PR. Lemme know which one you wanna work on and I will assign it to youπŸ™‚

2002Bishwajeet avatar Oct 07 '22 20:10 2002Bishwajeet

Sure I have a raised a PR covering the account API snippet in Dart. https://github.com/2002Bishwajeet/awesome-appwrite-snippets/pull/19

Rajat379 avatar Oct 08 '22 05:10 Rajat379

Happy to help out with Kotlin serverside API snippets :)

adityaoberai avatar Oct 27 '22 12:10 adityaoberai

Hey @2002Bishwajeet I'd like to take upon this issue.

pranavajith avatar Dec 05 '22 06:12 pranavajith

Hey @pranavajith, assigned to you. Lemme know on which language you wanna work on?

2002Bishwajeet avatar Dec 05 '22 06:12 2002Bishwajeet

@2002Bishwajeet Python or node... depending on which is more applicable.

pranavajith avatar Dec 05 '22 06:12 pranavajith

I'm down to learning new languages as well... Would really like to use this opportunity to level up and gain a new skill.

pranavajith avatar Dec 05 '22 06:12 pranavajith

How about you work on making snippets for Client and Account for now in Python? If everything looks good you can work on more snippets as well once you make the PRπŸ˜‰

2002Bishwajeet avatar Dec 05 '22 06:12 2002Bishwajeet

Sure.. seems great. So I'll unassign myself from the server side issue and you could assign me to the client side?

pranavajith avatar Dec 05 '22 06:12 pranavajith

I meant working on the client and account snippets of the server SDKs only.

2002Bishwajeet avatar Dec 05 '22 06:12 2002Bishwajeet

Sounds great.. is it cool if I reach out to you on discord, in case of any doubts? Might be easier to communicate there.

pranavajith avatar Dec 05 '22 06:12 pranavajith

yea sure

2002Bishwajeet avatar Dec 05 '22 06:12 2002Bishwajeet

Screenshot 2022-12-05 at 8 31 40 PM

Is this fine, @2002Bishwajeet ? Any editing necessary for server side client snippets?

pranavajith avatar Dec 05 '22 15:12 pranavajith

Looks fine

2002Bishwajeet avatar Dec 05 '22 17:12 2002Bishwajeet

Hey @pranavajith, lemme know if you are still working on this issue?

2002Bishwajeet avatar Dec 13 '22 11:12 2002Bishwajeet