> For the complete documentation index, see [llms.txt](https://docs.ionicfirebaseapp.com/readymade-restaurant-app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionicfirebaseapp.com/readymade-restaurant-app/api-config.md).

# API Config

### Restaurant API <a href="#restaurant-api" id="restaurant-api"></a>

This app developed with nodeJS rest API. You can integrate your own API too in this app.

You can go to common -> **constants.dart**

Once app launches, you can create an account or login with default account we added in-app and order item. All the functionality works as expected by using our NodeJS backend

&#x20;You can find API pointing towards to [NodeJS](https://www.ionicfirebaseapp.com/products/node-JS-restaurant-backend-dashboard) Backend. If you have your own Backend, you can replace this URL with your existing URL, or if you like to get our Backend, you can purchase and host it on your own server. You can visit our product page to check API as well as their pricing details.

![](https://gblobscdn.gitbook.com/assets%2F-LLY6S4_I6vG9eKLUKkp%2F-LLZCxyQGWJ3HkGZpT2Q%2F-LLZDb2O0OSG42E-z8kz%2Fconstant.png?alt=media\&token=a62dd0d3-6861-46ae-b811-8af2f3e5b7a6)

You can notice API pointing to our demo server you can change with your API or get our API and setup on any cloud server and change this URL to your API URL.

![](https://gblobscdn.gitbook.com/assets%2F-LLY6S4_I6vG9eKLUKkp%2F-LLZCxyQGWJ3HkGZpT2Q%2F-LLZDb2O0OSG42E-z8kz%2Fconstant.png?alt=media\&token=a62dd0d3-6861-46ae-b811-8af2f3e5b7a6)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ionicfirebaseapp.com/readymade-restaurant-app/api-config.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
