Fastkart API Installation
Getting Started With Fastkart API
1. Open fastkart-api directory that you downloaded from CodeCanyon.
2. Install Required Dependencies:
- In the fastkart-api folder, run following command in the terminal to install the required dependencies.
composer install
3. 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.
4. Run Fastkart Installation Wizard:
- Once you open 127.0.0.1:8000 in your web browser, the FastKart installation wizard will appear.
- Step 1: Before you proceed to the next step, make sure that the specified PHP extensions are installed on your system.
- 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.
- Step 3: After Before using the FastKart API, it's important to verify your Envato purchase license 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 License can only be verified on one domain at time.
- 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.
Note: After entering the required information and clicking "Next," the database setup will start. It might take around 5 to 10 minutes, so please wait patiently.
- Step 5: Once all steps are finished, Congratulations! Fastkart has been successfully installed and configured on 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 nextjs frontend. You can easily do this by following the instructions provided in the following link: Link to FastKart nextjs Frontend Installation Guide.