Why I used Appwrite? How to setup Appwrite in Windows?
Tags: appwrite, hacktoberfest, webdev, opensource
Published: 2021-10-12 06:39:00

<!--__i want to bold this__-->
<!--
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gcasugbshaft2sj7taba.jpg)
-->
<!--
[Dev.to](https://dev.com)-->

###Intro of Appwrite
[Appwrite](https://appwrite.io/) 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](https://www.microsoft.com/en-in/software-download) with appwrite. and Also this my first blog on Dev.to So Let's get Started.

![AppWrite](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pzayz28ufljnlt3tydlx.png)

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](https://github.com/appwrite/appwrite).


###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](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9fjwjtsr78ymfu1d58b9.png)

Docker is one type of Container. in which you can easily manage the back-end servers and Database. i will tell you one example for docker. One developer team which can work on JavaScript Project but all team members have different Operating system. You have to required PostgreSQL or Redis etc.. but different OS different Installation process and many steps. if one step is skip or wrong then whole the installation process will start again and this not write way that 's why many developer teams use Docker which can mange your Back-end server and Version of the all Back-end services. 

###How to Install Docker. 
Some easy steps goto [docker hub](https://hub.docker.com/) site and download the [Docker Tool box](https://docs.docker.com/desktop/windows/install/). After completing download 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
```

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
```
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
```
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](https://appwrite.io/docs/upgrade).

Now build your Appliction with Appwrite.

![Meme](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tasqs5f04de06h2xjfnv.jpg)


##All Ceadits
[apprite site](https://appwrite.io)
[appwrite blog](https://medium.com/appwrite-io)
[appwrite docs](https://appwrite.io/docs)
[appwrite discord](https://appwrite.io/discord)


__Thanks For Reading :)__
Happy Coding :)

Please give me Feed back about My First Blog.