DEV Community

Cover image for Why I used Appwrite? How to setup Appwrite in Windows?
Jay Gohel
Jay Gohel

Posted on

Why I used Appwrite? How to setup Appwrite in Windows?

Intro of Appwrite

Appwrite is complete backend service provider for web and mobile developers. which you easy to use.it's a open source and Secure server.

Many People use Windows so that's why i decied to make a post on Windows with appwrite. and Also this my first blog on Dev.to So Let's get Started.

AppWrite

Appwrite is a self-hosted solution that provides developers with a set of easy-to-use. this solution is open source and freely use and very secure. you can also check out appwrite Github repo.

Service Appwrite provide.

Let's Talk About what services provide. They will provide many service which usefull for single developer. using thos services user can be easily handle it all the Backend process or works And Developer can focus on appliaction infrastructure.

1. DataBase
2. Storage
3. Users Authentication
4. Geo & Location
5. Funactions
6. Privacy And Security
7. Console for mange your Project

Appwrite Setup in Windows Machine

Now, you can multiple ways to seup the appwrite but easiest way is Using Docker.

wait wait wait.... If you don't know docker than wait i will tell you.
Docker

Docker is one type of Container. in which you can easily manage the backend servers and Database. i will tell you one example for docker. One developer team which can work on Javscript Project but all team members have diffrent Openating system. You have to required Postgress SQl or Redis etc.. but diffrenet os diffrent Installation process and many steps. if one step is skip or wrong then whole the installation process will start agin and this not write way that 's why many developer teams use Docker which can mange your Backend server and Version of the all Backend services.

How to Install Docker.

Some easy steps goto docker hub site and dowenload the Docker Tool box. After completing doweload Complete the Installation. Now your docker is ready to use. Start the docker.

Let's Back to Appwrite.

Install Appwrite

After run the Docker if you use cmd then open it in Project directory and paste the command in CMD.

docker run -it --rm \
    --volume /var/run/docker.sock:/var/run/docker.sock \
    --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
    --entrypoint="install" \
    appwrite/appwrite:0.10.4
Enter fullscreen mode Exit fullscreen mode

If you use Powershall then use this command then paste bellow command. Note: powershall and CMD msut open in root or Project directory.

docker run -it --rm ,
    --volume /var/run/docker.sock:/var/run/docker.sock ,
    --volume ${pwd}/appwrite:/usr/src/code/appwrite:rw ,
    --entrypoint="install" ,
    appwrite/appwrite:0.10.4
Enter fullscreen mode Exit fullscreen mode

this command easily dowenload all the Appwrite files in your local machine.

After Command Sucessfuly executed, And setup is completed. Now verify the latest version of Appwrite. we can use the follwing command to check the Appwrite version.

docker ps | grep appwrite/appwrite
Enter fullscreen mode Exit fullscreen mode

Once the migration process has completed successfully, you're all set to use the latest version of Appwrite!

You can Also look at the official migration Documentation on Official website.

Now build your Appliction with Appwrite.

Meme

All Ceadits

apprite site
appwrite blog
appwrite docs
appwrite discord

Thanks For Reading :)
Happy Coding :)

Please give me Feed back about My First Blog.

Discussion (0)