Top

Laravel + Angular Documentation

Fastkart offers stunning and one-of-a-kind website demos tailored to your grocery, bakery, and online store needs. With Fastkart, you'll find everything you require to craft the ideal website for your business. Fastkart - your all-in-one solution!

Fastkart API Installation

Note: Before you start, confirm that your system meets the required specifications outlined for setting up the Fastkart API Requirements

Getting Started With Fastkart API

Follow this video tutorial to install the Fastkart API Click here

1. Open fastkart-api directory that you downloaded from CodeCanyon.

2. Environment Settings:

- Add the required database credentials in .env .

- 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.

APP_URL=http://localhost:8000
DB_DATABASE=database_name
DB_USERNAME=database_username
DB_PASSWORD=database_password
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.

3. Install Required Dependencies:

- In the fastkart-api folder, run following command in the terminal to install the required dependencies.

composer install 

4. Generate Laravel APP KEY:

- Once the necessary dependencies are successfully installed, run following command to generate laravel app key.

php artisan key:generate

5. Installation of Fastkart:

Note: If you've previously run following command or migrated tables, be aware of the fact that it will erase all of your data.

- Then, run following command to install fastkart database table.

php artisan fastkart:install

During the installation, you'll be asked two questions:

1. Do you want to continue with the installation? If you say yes, Fastkart will continue to install.

2. Do you want to import in sample data? If you say yes, the sample data will be imported. If you say no, the installation will go ahead without adding any sample data.

6. Link Storage folder to Public folder:

- Then, run following command to store and display images correctly.

php artisan storage:link

7. Run Fastkart API:

- Once you've finished all the previous steps, you can run the Fastkart API by adding following command.

php artisan serve

- When you start your Fastkart API project, it typically runs on the default port, you can access it by opening 127.0.0.1:8000 in your web browser.

8. Verify Fastkart Purchase License Code:

- Before using the FastKart API, it's important to verify your Envato purchase code.

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

- If you don't know where to find your purchase code, click here: where is my purchase code

Note: Once a license is verified, it can't be used for another project. An envato purchase code can only be verified on one domain at a time.

Congratulations, Fastkart has been successfully installed and configured in your system!🎉

For Postman API Documentation Click Here.

Once you've finished installing the Fastkart API, the next step is to set up the FastKart Angular frontend. You can easily do this by following the instructions provided in the following link: Link to FastKart Angular Frontend Installation Guide.