/AdminWrite

AdminWrite is a helper for Appwrite to perform bulk operations during development.

Primary LanguageSvelteMIT LicenseMIT

AdminWrite

AdminWrite Logo

📝 What is AdminWrite?

AdminWrite is a helper for Appwrite to perform bulk operations during development. Currently Database and Uses are supported with the following operations:

  • Select Deleted (100 in 1 request)
  • Delete All (100 in 1 request)
  • Bulk Create

Additional Specific Feature

  • During the Bulk Document creation, according to the attributes the structure of document is present in the view.
  • The structure of document can also be copied by using the Copy Document Format Button.

🧰 Tech Stack

🛠️ Setup Server

  1. Setup Appwrite server
  2. Create your Appwrite project

👀 Setup Client

  1. Install libarries npm install
  2. Duplicate .dup.env file and rename it to .env.
  3. Update the following environment variables in .env file:
    • PUBLIC_APPWRITE_ENDPOINT - Appwrite instance endpoint.
    • PUBLIC_APPWRITE_PROJECT - Project ID of your Appwrite project
    • PUBLIC_APPWRITE_KEY - Generate a Key from Appwrite console and provide all permissions.

🚀 Run Locally

  1. Run npm run dev.
  2. By default the application will run on http://localhost:5173/.

🤝 Contributing

  • Raise a new issue.
  • Code contribution:
    • Fork the Repo
    • Create a new branch as fix-issue-description
    • Raise the PR.

📖 References

🖼️ Screenshots

AdminWrite Home AdminWriteHome AdminWrite Database AdminWriteDatabase AdminWrite Document View AdminWriteDocumentView AdminWrite Delete Document AdminWriteDeleteDocument AdminWrite Bulk Document Create AdminWriteBulkDocumentCreate AdminWrite Users View AdminWriteUserView AdminWrite Users Delete AdminWriteUserDelete AdminWrite Bulk User Create AdminWriteUserBulkCreate

🤖 Auto-generated documentation

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm create svelte@latest

# create a new project in my-app
npm create svelte@latest my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment. No Adapter is installed and is meant to run locally.