A simple web app contains search, geolocation, infinite scroll server action.
Before you start, make sure you have bitenow-api running on your local. You can find the repository bitenow-api. Or you can access the JSON here Businesses - Cuisines
- Clone the repository
- Install the dependencies by running
npm install
- Copy the
.env.example
file to.env.local
and update theNEXT_PUBLIC_API_URL
with API URL - Download MaxMind GeoLite2 City database from here and put it in the db directory of the project (a small register is required to download the database)
- Run the app by running
npm run dev
- Filter