# Taxido Laravel APIs (GUI)

{% hint style="warning" %}
Note: Before you start, confirm that your system meets the required specifications outlined for setting up the [**Taxido Laravel Requirements**](https://docs.pixelstrap.net/laravel/taxido/laravel-requirment.html)
{% endhint %}

**Getting Started With Taxido Laravel**

**1. Open Taxido\_laravel directory that you downloaded from CodeCanyon.**

<figure><img src="https://docs.pixelstrap.net/laravel/taxido/assets/images/laravelApi/Taxido-laravel-folder.png" alt=""><figcaption></figcaption></figure>

**2. Environment Settings:**

Add the required database credentials in **.env** .

<figure><img src="https://docs.pixelstrap.net/laravel/taxido/assets/images/laravelApi/Taxido-env.png" alt=""><figcaption></figcaption></figure>

Add values to the below keys in the **.env** file

If you're running your Laravel project on your own computer (localhost), make sure to use localhost with current running port and put in APP\_URL. as a given example below

If you want to install on live server, you need to add your live server api url like a APP\_URL=<http://api.your-domain.com>.

```html
APP_URL=http://localhost:8000
                  DB_DATABASE=database_name
                  DB_USERNAME=database_username
                  DB_PASSWORD=database_password
```

{% hint style="warning" %}
Note: Make sure to set the APP\_URL correctly. If you don't, features like uploading, downloading, and showing images won't work properly. Be sure to double-check and make sure everything is set up correctly.
{% endhint %}

<figure><img src="https://docs.pixelstrap.net/laravel/taxido/assets/images/laravelApi/vps/cPanel-env%20(1).png" alt=""><figcaption></figcaption></figure>

**2. Install Required Dependencies:**

\- In the Taxido\_laravel folder, run following command in the terminal to install the required dependencies.

```html
composer install 
```

<figure><img src="https://74030740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6o4UzjBZtMQpeq4oeh8s%2Fuploads%2FUSmM97eRIVQ6cFQQxz6S%2Fimage.png?alt=media&#x26;token=eb865fa8-9e62-4694-b32c-ce3a611777e8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://74030740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6o4UzjBZtMQpeq4oeh8s%2Fuploads%2Fj2oIQ34PdUU7OVl1Ol1W%2Fimage.png?alt=media&#x26;token=1cc44e98-dcd9-4d13-8fdd-ccecfa685bdd" alt=""><figcaption></figcaption></figure>

**3. Building Assets and SCSS:**

{% hint style="warning" %}
**Note:** Please make sure you've installed NodeJs. If you haven't installed, you can easily do by following this link: [Link to Laravel Prerequisites.](https://docs.pixelstrap.net/laravel/taxido/laravel-requirment.html#nodejs)
{% endhint %}

To set up and compile your assets and SCSS files, follow these steps:

First, you need to install the necessary Node modules.

```html
npm i
```

&#x20;Compile assets and scss by running below command.

```html
npm run build
```

Use the command below to start the development server with hot reload, allowing you to see changes instantly without refreshing the browser.

```html
npm run dev
```

**4. Run Taxido Laravel:**

Once you've finished all the previous steps, you can run the Taxido Laravel by adding following command.

```html
php artisan serve
```

<figure><img src="https://74030740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6o4UzjBZtMQpeq4oeh8s%2Fuploads%2F0YqUwQciyzGnqjK7z1O3%2Fimage.png?alt=media&#x26;token=cfe54580-2442-4fad-9746-0ebf6ac81d53" alt=""><figcaption></figcaption></figure>

When you start your Taxido Laravel project, it typically runs on the default port, you can access it by opening [127.0.0.1:8000 ](http://127.0.0.1:8000/)in your web browser.

**5. Run Taxido Installation Wizard:**

Once you open [127.0.0.1:8000 ](http://127.0.0.1:8000/)in your web browser, the Taxido installation wizard will appear.

<figure><img src="https://docs.pixelstrap.net/laravel/taxido/assets/images/laravelApi/vps/install-1.png" alt=""><figcaption></figcaption></figure>

Step 1: Before you proceed to the next step, make sure that the specified PHP extensions are installed on your system.

<figure><img src="https://74030740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6o4UzjBZtMQpeq4oeh8s%2Fuploads%2FttnUmwpyOTlDKWZk4xoY%2Fimage.png?alt=media&#x26;token=c60560dd-8270-4ad5-be6a-89a92195e20e" alt=""><figcaption></figcaption></figure>

Step 2: Once all the required PHP extensions are installed, proceed to the next step to check permissions for specific folders to ensure they are allowed.

If permissions are not allowed for the mentioned folders, please allowed folder permissions and proceed to the license verification step.

<figure><img src="https://docs.pixelstrap.net/laravel/taxido/assets/images/laravelApi/installer-3-1.png" alt=""><figcaption></figcaption></figure>

Step 3: Before using the Taxido API, it's important to verify your Envato purchase license code.

Enter in your Envato username and the Taxido purchase code and click next button.

If you don't know where to find your purchase code, click here: [Where Is My Purchase Code?](https://help.market.envato.com/hc/en-us/articles/202822600-Where-Is-My-Purchase-Code)

{% hint style="warning" %}
**Note:** Once a license is verified, it can't be used for another project. An Envato Purchase License can only be verified on one domain at time.
{% endhint %}

<figure><img src="https://74030740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6o4UzjBZtMQpeq4oeh8s%2Fuploads%2F5LSrZULPvHMWXQst8yBk%2Fimage.png?alt=media&#x26;token=82545294-b43a-48da-aaff-47aae6444336" alt=""><figcaption></figcaption></figure>

&#x20;Step 4: Once the license has been verified, proceed to the database configuration step.

Enter the essential MySQL database credentials to connect the Laravel API to the MySQL database such as a database host, username, password, and database name.

To import sample data, select "Import Dummy Data". After selecting this option, the administration details will be hidden. Click the "Next" button to the sample data will be imported.

If you prefer not to import sample data, you can deselect "Import Dummy Data" After that, enter the administration details. Once done, click the "Next" button to proceed.

{% hint style="warning" %}
**Note:** After entering the required information and clicking "Next," the database setup will start. It might take few minutes, so please wait patiently.
{% endhint %}

<figure><img src="https://74030740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6o4UzjBZtMQpeq4oeh8s%2Fuploads%2FizxgC1zdHAmetDrI4DTp%2Fimage.png?alt=media&#x26;token=fd4229c9-90f9-4b18-b4da-1018e3c8916e" alt=""><figcaption></figcaption></figure>

&#x20;Step 5: Once all steps are finished, Congratulations! Taxido has been successfully installed and configured on your system! 🎉, you can proceed by using the default credentials.

For Postman API Documentation [Click Here](https://documenter.getpostman.com/view/23370213/2sAYk7RP4s).

Here are some common solutions if your project isn't running successfully:

* Ensure you're using the latest version of PHP, Composer and Node.js.
* Try deleting the "node\_modules" folder and "package-lock.json" file, then run npm install again.
* If the problem persists, consider re-downloading the theme from Codecanyon and retrying.
* If none of these steps work, you can create a support ticket for assistance.

**Default Credentials**

**Admin Credential:**

&#x20;   Url: <https://your-domain.com/admin/login>

&#x20;   Email: <admin@example.com>

&#x20;   Password: 123456789

**Driver Credential:**

&#x20;   Url: <https://your-domain.com/admin/login>

&#x20;  Email: <driver@example.com>

&#x20;   Password: driver\@123

**User Landing Page:** [**https://127.0.0.1:8000**](https://127.0.0.1:8000/)
