Foodie
  • Introduction
  • Flutter App
    • Getting Started
    • Directory Structure
    • Change App Color theme
    • Chat with Vendor/Delivery Boy
    • Firebase
    • Firebase Phone OTP
    • Google Map
    • Running on Android Studio
    • Running App On VS Code
  • Social Login
    • Google Login
    • Facebook Login
  • Laravel Admin( Backend )
    • Getting Started
    • GUI Installer
    • Change Backend Color
    • App API
    • Payment Callbacks
    • System Settings
    • System Update & Terminal
    • Firebase
      • Firebase Database
    • Web Notification
    • Change Logs
  • Migration
    • ~ 1.3.0
    • ~ 1.5.1
    • ~ 1.6.0
Powered by GitBook
On this page

Was this helpful?

  1. Laravel Admin( Backend )

App API

PreviousChange Backend ColorNextPayment Callbacks

Last updated 4 years ago

Was this helpful?

After setting up your server, the next thing is to make sure your apps are set to use your server for making requests.

The api your apps should be connecting to is going to be

https://YOUR_SERVER_URL/api

As you can see in the project, the apps api is

API Authentication

Now if you try to make request to the api endpoint from the api you should be getting error like Access token error

Here is what you need to do to allow Authorized requests to your api. Run the command below in your project directory on your server.

php artisan passport:install
https://food.thesnaptask.com/api/food.thesnaptask.com