myappwrite

1.0.1 • Public • Published

MyAppWrite

License

MyAppWrite is a Node.js package that extends the functionality of the AppWrite package. It provides additional features and utilities to simplify the integration of your application with the AppWrite backend.

Installation

Before installing MyAppWrite, you need to ensure that you have the AppWrite npm package installed. If you haven't installed it yet, you can do so using the following command:

npm install appwrite

Once you have AppWrite installed, you can install MyAppWrite using npm:

npm install myappwrite

Usage

To use MyAppWrite in your Node.js application, you first need to import both the AppWrite and MyAppWrite modules.

import AppwriteService from "myappwrite";
// need to instantiate AppwriteService like this

const appwriteService = new AppwriteService(
      "Your API Endpoint",
      "Your Project ID"
    );

Now you can use both the functionalities from the AppWrite package and the extended features provided by MyAppWrite.

Features

MyAppWrite extends the AppWrite package with the following additional features:

    const newUser = {
        email: "user@example.com",
        password: "password123",
        name: "John Doe",
    };
    // for creating a user
    appwriteService.createAccount(newUser);

    const user = {
        email: "user@example.com",
        password: "password123",
    }
    // for login a user
    appwriteService.login(user);

    // for getting current user
    appwriteService.getCurrentUser()

    // for logout the user
    appwriteService.logout()

Contributing

If you want to contribute to MyAppWrite, feel free to create a pull request with your proposed changes. Please make sure to follow the coding conventions and include tests for any new features you add.

License

MyAppWrite is licensed under the MIT License. See the LICENSE file for details.

Support

If you encounter any issues or have questions about using MyAppWrite, you can reach out to us through the Issues section of this repository.

Happy coding with MyAppWrite! 🚀

Readme

Keywords

Package Sidebar

Install

npm i myappwrite

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

4.33 kB

Total Files

3

Last publish

Collaborators

  • venkatramanbehera