# Installation

Alright let's do this! First let's get your environment setup if it hasn't been already. Everything needed is free or has a free tier. We need to be scrappy in our early days! &#x20;

1. [Install NodeJS](https://www.nodejs.org)
2. Register for [MongoDB Atlas](https://www.mongodb.com/cloud/atlas) &#x20;
   1. Create a database called backend with the following collections:
      1. tenants
      2. users
   2. Create a user with access to the database.&#x20;
3. Register for [Stripe](https://www.stripe.com)
4. Register for [Mailgun](https://www.mailgun.com)
5. Register for a [Facebook Developer Account](https://developers.facebook.com/) (used for authentication)
6. Register for a [Google Cloud Account](https://cloud.google.com/) (used for authentication)

We are now on our way!&#x20;

Open up your favorite shell (bash, cmd, etc), go into the backend directory, and type&#x20;

```
npm install
```

This will install all the other dependencies needed such as express, mongoose, etc. &#x20;

Now, go into the frontend directory and do the same.&#x20;

```
npm install
```

This will install all dependencies needed for the frontend such as, react-router, material-ui, validate.js, etc.&#x20;
