Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
253 commits
Select commit Hold shift + click to select a range
63763b5
Minor bug fix
mahirlabibdihan Aug 9, 2024
94176e7
Optimized routes context generation
mahirlabibdihan Aug 9, 2024
6cba10e
More update
mahirlabibdihan Aug 9, 2024
ee8a999
Fix build error
mahirlabibdihan Aug 9, 2024
abf7711
llm full response added
mahirlabibdihan Aug 9, 2024
616b38d
minor
mahirlabibdihan Aug 9, 2024
d0d4475
minor
mahirlabibdihan Aug 9, 2024
dc89fdc
Nearby context fixed
mahirlabibdihan Aug 11, 2024
1fd6d94
Direction Form
mahirlabibdihan Aug 11, 2024
788cd4b
direction context fixed
mahirlabibdihan Aug 11, 2024
769ad25
Map Integrated
mahirlabibdihan Aug 11, 2024
800aeeb
Place delete fixed
mahirlabibdihan Aug 11, 2024
f559cee
Direction fixed
mahirlabibdihan Aug 11, 2024
9589079
Context Visualizer
mahirlabibdihan Aug 12, 2024
6501075
Context visualization expanded
mahirlabibdihan Aug 13, 2024
3420198
Context expansion update
mahirlabibdihan Aug 13, 2024
f3c1375
old bug fix
mahirlabibdihan Aug 13, 2024
5a0b53b
serves attributes added
mahirlabibdihan Aug 14, 2024
2c3d4e3
phone added
mahirlabibdihan Aug 14, 2024
7b0fa69
evaluation fixed
mahirlabibdihan Aug 14, 2024
2c40b56
questions added in card
mahirlabibdihan Aug 14, 2024
81ec504
categories fixed
mahirlabibdihan Aug 15, 2024
97c473c
Category Chart added
mahirlabibdihan Aug 15, 2024
f440ff8
fix apex chart
mahirlabibdihan Aug 15, 2024
47d55c6
nearby form bug fix
mahirlabibdihan Aug 15, 2024
6b28cc9
Nearby Improved
mahirlabibdihan Aug 15, 2024
7ba606c
Saved and Selected Separated
mahirlabibdihan Aug 15, 2024
b75654f
Nearby Improved
mahirlabibdihan Aug 15, 2024
7e498bc
Improved accessibility
mahirlabibdihan Aug 15, 2024
73a9464
Directions updated
mahirlabibdihan Aug 15, 2024
9f4c9e6
duration (distance)
mahirlabibdihan Aug 18, 2024
bc5c6e3
.
mahirlabibdihan Aug 18, 2024
9623cde
distance -> travel time
mahirlabibdihan Aug 18, 2024
b3d4e31
map enabled
mahirlabibdihan Aug 18, 2024
d221b84
.
mahirlabibdihan Aug 18, 2024
45436d8
.
mahirlabibdihan Aug 18, 2024
6da6f8d
.
mahirlabibdihan Aug 18, 2024
1fea30c
update
mahirlabibdihan Aug 19, 2024
10c7fd1
update
mahirlabibdihan Aug 23, 2024
7748297
update dataset info
mahirlabibdihan Aug 31, 2024
4c14979
Undo hide
mahirlabibdihan Sep 1, 2024
d7c1aa9
Query Flag fixed
mahirlabibdihan Sep 2, 2024
d402e81
fix dataset info
mahirlabibdihan Sep 2, 2024
c095528
increase threshold
mahirlabibdihan Sep 3, 2024
75001d6
flag change
mahirlabibdihan Sep 3, 2024
959f30e
ignore no context in pie chart
mahirlabibdihan Sep 3, 2024
75cd92d
decrease font
mahirlabibdihan Sep 5, 2024
b5ebf94
update
mahirlabibdihan Sep 5, 2024
90b5843
phone number added
mahirlabibdihan Sep 6, 2024
3ef7a05
takeout added
mahirlabibdihan Sep 6, 2024
7881358
update
mahirlabibdihan Sep 6, 2024
adcf9db
.
mahirlabibdihan Sep 6, 2024
b11fee8
column chart
mahirlabibdihan Sep 6, 2024
6679b64
Chart fix
mahirlabibdihan Sep 6, 2024
047d0a5
more charts
mahirlabibdihan Sep 6, 2024
fb838de
new chart
mahirlabibdihan Sep 7, 2024
efc132f
more charts
mahirlabibdihan Sep 8, 2024
fa73627
More charts
mahirlabibdihan Sep 8, 2024
d6eca2a
difficulty added
mahirlabibdihan Sep 11, 2024
fd235f0
.
mahirlabibdihan Sep 12, 2024
2caa53f
add delete
mahirlabibdihan Sep 12, 2024
a8772da
.
mahirlabibdihan Sep 12, 2024
ac68a9e
.
mahirlabibdihan Sep 12, 2024
93ba1e5
update
mahirlabibdihan Sep 14, 2024
f9deb1a
fix
mahirlabibdihan Sep 14, 2024
266c627
fix
mahirlabibdihan Sep 14, 2024
adc9a0b
type 2
mahirlabibdihan Sep 14, 2024
541bf4c
option added
mahirlabibdihan Sep 14, 2024
5cf1a8f
update
mahirlabibdihan Sep 14, 2024
3c4b3ba
fix
mahirlabibdihan Sep 14, 2024
4f3b59d
reset saved places map
mahirlabibdihan Sep 14, 2024
f00dfbb
hide evaluation
mahirlabibdihan Sep 14, 2024
4fe38bc
type 3
mahirlabibdihan Sep 14, 2024
79358a7
fix
mahirlabibdihan Sep 15, 2024
76fdb30
type 2
mahirlabibdihan Sep 16, 2024
e2cda98
type 1
mahirlabibdihan Sep 16, 2024
caaff02
fix
mahirlabibdihan Sep 16, 2024
c40c9e9
flag
mahirlabibdihan Sep 16, 2024
519fd78
fix
mahirlabibdihan Sep 17, 2024
e76d260
.
mahirlabibdihan Sep 17, 2024
2f389b6
fix
mahirlabibdihan Sep 17, 2024
c9f3afa
.
mahirlabibdihan Sep 18, 2024
06f42db
.
mahirlabibdihan Sep 18, 2024
0fb5393
fix
mahirlabibdihan Sep 19, 2024
33941ac
,
mahirlabibdihan Sep 19, 2024
822a9cd
.
mahirlabibdihan Sep 19, 2024
d3ab9c1
fix
mahirlabibdihan Sep 22, 2024
f75700c
fix
mahirlabibdihan Sep 23, 2024
7afeae7
Question Distribution
mahirlabibdihan Sep 23, 2024
5b1869b
fix
mahirlabibdihan Sep 24, 2024
fe2ef33
hide correct
mahirlabibdihan Sep 26, 2024
66980e2
fix
mahirlabibdihan Sep 26, 2024
878621a
all
mahirlabibdihan Sep 29, 2024
ff1e4f8
f
mahirlabibdihan Sep 30, 2024
f289a08
fix
mahirlabibdihan Sep 30, 2024
653c3a2
fix
mahirlabibdihan Oct 1, 2024
5def129
mapqator optimized
mahirlabibdihan Oct 6, 2024
2341e28
minor bug
mahirlabibdihan Oct 6, 2024
1a86eb3
fix
mahirlabibdihan Oct 6, 2024
50958a7
Add map to nearby places
mahirlabibdihan Oct 6, 2024
68d9d32
minor fix
mahirlabibdihan Oct 6, 2024
9ee94a4
nearby card improved
mahirlabibdihan Oct 6, 2024
b65a489
update direction card
mahirlabibdihan Oct 6, 2024
2a5510d
more update
mahirlabibdihan Oct 6, 2024
23af11a
Multistop route fixed
mahirlabibdihan Oct 7, 2024
7dbd01e
skip context generation part
mahirlabibdihan Oct 7, 2024
08ccb2d
simplify
mahirlabibdihan Oct 7, 2024
2f190de
place delete fixed
mahirlabibdihan Oct 7, 2024
457505e
search along route
mahirlabibdihan Oct 7, 2024
b32eba5
nearby realtime search
mahirlabibdihan Oct 7, 2024
39d0f6d
nearby simplified
mahirlabibdihan Oct 7, 2024
152d283
search along route done
mahirlabibdihan Oct 8, 2024
3366c3a
realtime routing done
mahirlabibdihan Oct 8, 2024
0f0c09b
search along route realtime
mahirlabibdihan Oct 8, 2024
2e80013
fix place add
mahirlabibdihan Oct 8, 2024
993a6f4
minor tool label change
mahirlabibdihan Oct 8, 2024
25a95b7
SearchAlongRoute card fixed
mahirlabibdihan Oct 8, 2024
0bdb6ef
slight
mahirlabibdihan Oct 8, 2024
9526f85
routing summary added
mahirlabibdihan Oct 8, 2024
b2279e8
remove keyword
mahirlabibdihan Oct 8, 2024
1a8f6a8
delete fixed
mahirlabibdihan Oct 8, 2024
fe4e102
api log delete fixed
mahirlabibdihan Oct 8, 2024
e7e4690
route places bug fix
mahirlabibdihan Oct 8, 2024
a00f286
hide context gpt
mahirlabibdihan Oct 8, 2024
9e82216
type autocomplete field
mahirlabibdihan Oct 8, 2024
60874e2
Multi stop component added
mahirlabibdihan Oct 9, 2024
ae4c6a4
hide evaluate
mahirlabibdihan Oct 9, 2024
806efa4
json download added
mahirlabibdihan Oct 9, 2024
dd170f8
debounce fixed
mahirlabibdihan Oct 9, 2024
46b2985
different answer types added
mahirlabibdihan Oct 10, 2024
4a4e336
mcq,short answer added
mahirlabibdihan Oct 10, 2024
92040db
minor fix answer type
mahirlabibdihan Oct 10, 2024
87b4e55
parseInt fixed
mahirlabibdihan Oct 10, 2024
5891c2a
mcq,short in query card
mahirlabibdihan Oct 10, 2024
8390716
new repo
mahirlabibdihan Oct 10, 2024
d7ac852
deploy
mahirlabibdihan Oct 10, 2024
12bb1ea
minor fix
mahirlabibdihan Oct 10, 2024
e6873fc
references added to questions
mahirlabibdihan Oct 10, 2024
677de69
reference fixed
mahirlabibdihan Oct 11, 2024
8da9a7f
single place component added
mahirlabibdihan Oct 11, 2024
ce51a4e
Graph hopper and Nominatim integrated
mahirlabibdihan Oct 11, 2024
beb19b0
tools added
mahirlabibdihan Oct 11, 2024
6f0f46d
map service selector
mahirlabibdihan Oct 11, 2024
a880961
Map Service Selector added
mahirlabibdihan Oct 11, 2024
ff096cc
MapBox api added
mahirlabibdihan Oct 11, 2024
b34e296
tomtom api added
mahirlabibdihan Oct 11, 2024
4221ea0
azure maps added
mahirlabibdihan Oct 11, 2024
800417f
gird fixed
mahirlabibdihan Oct 11, 2024
06491f2
baseurl before images
mahirlabibdihan Oct 11, 2024
29e7feb
nearby search generalized
mahirlabibdihan Oct 12, 2024
f459f11
context generation stopped
mahirlabibdihan Oct 12, 2024
90bc4af
bug fix
mahirlabibdihan Oct 12, 2024
029f9e3
null checked
mahirlabibdihan Oct 12, 2024
bfb88b7
bug fix
mahirlabibdihan Oct 12, 2024
8251e58
tool names consistence
mahirlabibdihan Oct 12, 2024
0596ffd
tom tom compute routes
mahirlabibdihan Oct 12, 2024
98dae7a
independent tools
mahirlabibdihan Oct 12, 2024
4b6aa58
independent tools
mahirlabibdihan Oct 12, 2024
aa509c9
fix
mahirlabibdihan Oct 12, 2024
3593a69
fix
mahirlabibdihan Oct 12, 2024
5785aed
fix
mahirlabibdihan Oct 12, 2024
67d37b1
text search simplified
mahirlabibdihan Oct 13, 2024
6351324
Place details simplified
mahirlabibdihan Oct 13, 2024
07107dc
search along route fixed
mahirlabibdihan Oct 13, 2024
32cb82d
travel and avoid field generalized
mahirlabibdihan Oct 13, 2024
79929c8
fix
mahirlabibdihan Oct 13, 2024
c836eac
reset fixed
mahirlabibdihan Oct 13, 2024
93a9eae
tom tom in search along route
mahirlabibdihan Oct 13, 2024
06ce20f
zoom increased
mahirlabibdihan Oct 13, 2024
1af61c6
responsive
mahirlabibdihan Oct 13, 2024
fa92492
hidden places
mahirlabibdihan Oct 14, 2024
ffe2fb4
improved guidelines
mahirlabibdihan Oct 14, 2024
0512a8f
remove api response
mahirlabibdihan Oct 15, 2024
052458c
query id in url
mahirlabibdihan Oct 15, 2024
1befe48
query edit route changed
mahirlabibdihan Oct 15, 2024
36eb528
minor
mahirlabibdihan Oct 15, 2024
6af6cb8
start new
mahirlabibdihan Oct 15, 2024
3e042f5
fix
mahirlabibdihan Oct 15, 2024
27e04f4
question expansion done
mahirlabibdihan Oct 15, 2024
31e8556
stepper added
mahirlabibdihan Oct 15, 2024
74116ba
Improved search bar
mahirlabibdihan Oct 15, 2024
f99b651
responsive
mahirlabibdihan Oct 15, 2024
2373cf5
Full flow done
mahirlabibdihan Oct 15, 2024
b5dd8fd
generate -> initialize context
mahirlabibdihan Oct 16, 2024
2fcd9fd
improve review page
mahirlabibdihan Oct 16, 2024
2a755b8
fix
mahirlabibdihan Oct 16, 2024
a687247
tracked response time
mahirlabibdihan Oct 16, 2024
136ec3b
fix
mahirlabibdihan Oct 16, 2024
4a4568e
fix
mahirlabibdihan Oct 16, 2024
4020428
texts updated
mahirlabibdihan Oct 16, 2024
407529e
bug fix
mahirlabibdihan Oct 16, 2024
59f17f4
fix
mahirlabibdihan Oct 16, 2024
3c4a9af
fix
mahirlabibdihan Oct 16, 2024
4c32327
fixed avoid
mahirlabibdihan Oct 16, 2024
5ec01a7
fix
mahirlabibdihan Oct 16, 2024
543b7dc
answer types extended
mahirlabibdihan Oct 17, 2024
037d0a4
yn fix
mahirlabibdihan Oct 17, 2024
a2bfa8c
answer set extended
mahirlabibdihan Oct 17, 2024
7e2e576
place suggestion added to all fields
mahirlabibdihan Oct 17, 2024
96e6283
improved ui
mahirlabibdihan Oct 17, 2024
34de69c
references -> relevant_api_calls
mahirlabibdihan Nov 6, 2024
e4dc135
comma separate
mahirlabibdihan Nov 6, 2024
9522898
fix
mahirlabibdihan Nov 6, 2024
62ed61a
no option to add option
mahirlabibdihan Nov 6, 2024
770deec
comma separated
mahirlabibdihan Nov 6, 2024
ac1fe17
bug fixing
mahirlabibdihan Nov 8, 2024
e36c461
response in api call log
mahirlabibdihan Dec 6, 2024
6687b04
context_json format change
mahirlabibdihan Dec 6, 2024
9647709
.
mahirlabibdihan Dec 6, 2024
ed6f77f
.
mahirlabibdihan Dec 6, 2024
84c0f4a
added examples
mahirlabibdihan Dec 16, 2024
25474e2
bug fix
mahirlabibdihan Dec 27, 2024
7fe315a
og changed
mahirlabibdihan Dec 29, 2024
4e52592
.
mahirlabibdihan Dec 29, 2024
151e215
og updated
mahirlabibdihan Dec 29, 2024
d8d357e
og updated
mahirlabibdihan Dec 29, 2024
3171dc7
readme updated
mahirlabibdihan Dec 29, 2024
f84f17e
readme updated
mahirlabibdihan Dec 29, 2024
31bcdc4
backend fixed
mahirlabibdihan Dec 29, 2024
ae14279
google site verification added
mahirlabibdihan Dec 31, 2024
68fff8d
sitemap added
mahirlabibdihan Dec 31, 2024
57f793d
priority changed
mahirlabibdihan Dec 31, 2024
33c0231
paper linked to landing
mahirlabibdihan Jan 1, 2025
316eb16
absolute
mahirlabibdihan Jan 1, 2025
d33521d
fix
mahirlabibdihan Jan 1, 2025
97b914a
fix
mahirlabibdihan Jan 1, 2025
ae27323
keywords added
mahirlabibdihan Jan 1, 2025
b2b8ceb
Back to single QA pair
mahirlabibdihan Mar 8, 2025
ce428c8
Dataset cards fixed
mahirlabibdihan Mar 8, 2025
51d20c9
place details and nearby places textual context done
mahirlabibdihan Mar 8, 2025
63d2f6a
Place along route context added
mahirlabibdihan Mar 8, 2025
3a0cda7
Prompt design added succesfully
mahirlabibdihan Mar 8, 2025
59447bd
login page notice added
mahirlabibdihan Mar 8, 2025
894a200
Prompt designer for Guests
mahirlabibdihan Mar 8, 2025
af0ffe4
Max result count added in Nearby
mahirlabibdihan Mar 9, 2025
6d271a0
context button fixed
mahirlabibdihan Mar 11, 2025
8ff2379
Gemini Integrated
mahirlabibdihan Mar 11, 2025
6a0b6d8
prompt responsive
mahirlabibdihan Mar 11, 2025
166991f
prompt designer loading button
mahirlabibdihan Mar 12, 2025
093525f
Explore page improved
mahirlabibdihan Mar 12, 2025
305d120
clear examples
mahirlabibdihan Mar 12, 2025
2ef7434
minor
mahirlabibdihan Mar 12, 2025
90cc83d
clear button fixed
mahirlabibdihan Mar 12, 2025
cfa700d
login url fixed
mahirlabibdihan Mar 14, 2025
fc94e35
Demo done
mahirlabibdihan Mar 14, 2025
b15ae18
project page link fixed
mahirlabibdihan Mar 14, 2025
99b395e
gemini button fixed
mahirlabibdihan Mar 15, 2025
18ac5ae
Home page fixed
mahirlabibdihan Mar 15, 2025
31db70b
home fix
mahirlabibdihan Mar 15, 2025
68b1eb0
prompt designer bug fixed
mahirlabibdihan May 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Deploy Next.js site to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
201 changes: 182 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,199 @@
# MapQaTor Frontend

This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## Getting Started
## Project Setup

Follow the step by step installation procedure to install and run this on your machine.

## Prerequisites

Make sure you have node installed in your device.

**`NodeJs`**: Install Nodejs from [here](https://nodejs.org/en/download/)

## Installation <a name="configuration"></a>


1. Clone the repo

```sh
git clone https://github.com/mapqator/mapqator.github.io.git
```

2. If you don't have git installed in your device then download zip
3. After installation or download go to the repository and open command line.

### Configuring


2. Install NPM packages

First, run the development server:
```sh
npm install
```

3. Ensure backend is configured and running correctly on "http://localhost:5000" (note the port number)

#### Run the project

Go to your favourite code editor and run

```bash
```sh
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.js`. The page auto-updates as you edit the file.
You should find that the project is working!

## Adding new Map APIs

Add or edit files in the `src/tools` and `src/mapServices` directories.


# Data Collection Tools

<!-- {
"id": "ChIJLU7jZClu5kcR4PcOOO6p3I0",
"displayName": {
"text": "Eiffel Tower"
},
"shortFormattedAddress": "Eiffel Tower, Av. Gustave Eiffel, Paris",
"location": {
"latitude": 48.858370099999995,
"longitude": 2.2944812999999997
},
"uuid": 1741455661378,
"mapService": "googleMaps",
"hidden": false
} -->

## Text Search Object

| Field Name | Description |
|------------------|--------------------------------------------------|
| `id` | A location identifier (e.g., a Place ID) |
| `displayName` | Display name of the location. |
| `shortFormattedAddress` | Short address of the location. |
| `location` | Latitude and longitude of the location. |
| `mapService` | Map service used for the search (e.g., googleMaps). |

## Place Details Object

Attributes of the place details object are unique to the Map Service used. This need to be specified in the adapter. Attributes should be subset of the following:

`[ "location",
"shortFormattedAddress",
"accessibilityOptions",
"businessStatus",
"googleMapsUri",
"primaryType",
"internationalPhoneNumber",
"nationalPhoneNumber",
"priceLevel",
"rating",
"regularOpeningHours",
"userRatingCount",
"websiteUri",
"allowsDogs",
"curbsidePickup",
"delivery",
"dineIn",
"editorialSummary",
"evChargeOptions",
"fuelOptions",
"goodForChildren",
"goodForGroups",
"goodForWatchingSports",
"liveMusic",
"menuForChildren",
"parkingOptions",
"paymentOptions",
"outdoorSeating",
"reservable",
"restroom",
"servesBeer",
"servesBreakfast",
"servesBrunch",
"servesCocktails",
"servesCoffee",
"servesDessert",
"servesDinner",
"servesLunch",
"servesVegetarianFood",
"servesWine",
"takeout",
"generativeSummary",
"areaSummary"
]
`

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
## Nearby Search Object

## Learn More
| Field Name | Description |
|------------------|--------------------------------------------------|
| `locationBias` | A location identifier (e.g., a Place ID) specifying the place around which to search |
| `type` | Type of places being searched (e.g., restaurant). |
| `keyword` | A keyword for refining the search (can be empty). |
| `minRating` | Minimum rating filter for the search (e.g., 4). |
| `priceLevels`| List of price levels allowed (e.g., PRICE_LEVEL_MODERATE, PRICE_LEVEL_EXPENSIVE). |
| `rankPreference` | Ranking preference for search results (RELEVANCE, DISTANCE, etc.). |
| `maxResultCount` | Maximum number of results to return. |
| `places` | List of places matching the query criteria. |
| `routingSummaries` | List of navigation details for reaching the places. |

To learn more about Next.js, take a look at the following resources:
## Compute Routes Object

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
<!-- "origin": "ChIJD3uTd9hx5kcR1IQvGfr8dbk",
"destination": "ChIJLU7jZClu5kcR4PcOOO6p3I0",
"intermediates": [
"ChIJOYNm1DBu5kcRZwdtKBzyq6k",
"ChIJATr1n-Fx5kcRjQb6q6cdQDY"
],
"travelMode": "DRIVE",
"optimizeWaypointOrder": true,
"routeModifiers": {
"avoidTolls": true,
"avoidHighways": true,
"avoidFerries": false
},
"routes": -->

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
| Field Name | Description |
|------------------|--------------------------------------------------|
| `origin` | Origin location identifier. |
| `destination` | Destination location identifier. |
| `intermediates` | List of intermediate locations. |
| `travelMode` | Mode of travel (e.g., DRIVE, WALK). |
| `optimizeWaypointOrder` | Optimize the order of waypoints. |
| `routeModifiers` | Modifiers for the route (e.g., avoidTolls). |
| `routes` | List of routes from origin to destination. |

## Deploy on Vercel
## Search Along Route Object

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
<!-- "type": "restaurant",
"minRating": 0,
"priceLevels": [],
"rankPreference": "RELEVANCE",
"origin": "ChIJD3uTd9hx5kcR1IQvGfr8dbk",
"destination": "ChIJLU7jZClu5kcR4PcOOO6p3I0",
"travelMode": "DRIVE",
"routeModifiers": {},
"maxResultCount": 5,
"places": [],
"routes": [] -->

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
| Field Name | Description |
|------------------|--------------------------------------------------|
| `type` | Type of places being searched (e.g., restaurant). |
| `minRating` | Minimum rating filter for the search (e.g., 4). |
| `priceLevels` | List of price levels allowed (e.g., PRICE_LEVEL_MODERATE, PRICE_LEVEL_EXPENSIVE). |
| `rankPreference` | Ranking preference for search results (RELEVANCE, DISTANCE, etc.). |
| `origin` | Origin location identifier. |
| `destination` | Destination location identifier. |
| `travelMode` | Mode of travel (e.g., DRIVE, WALK). |
| `routeModifiers` | Modifiers for the route (e.g., avoidTolls). |
| `maxResultCount` | Maximum number of results to return. |
| `places` | List of places matching the query criteria. |
| `routes` | List of routes from origin to destination. |
Loading