Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new geo search tutorial #637

Merged
merged 1 commit into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The e-commerce microservices application consists of a frontend, built using [Next.js](https://nextjs.org/) with [TailwindCSS](https://tailwindcss.com/). The application backend uses [Node.js](https://nodejs.org). The data is stored in [Redis](https://redis.com/try-free/) and either MongoDB or PostgreSQL, using [Prisma](https://www.prisma.io/docs/reference/database-reference/supported-databases). Below are screenshots showcasing the frontend of the e-commerce app.

**Dashboard:** Displays a list of products with different search functionalities, configurable in the settings page.
![Redis Microservices E-commerce App Frontend - Products Page](images/01-dashboard.png)

**Settings:** Accessible by clicking the gear icon at the top right of the dashboard. Control the search bar, chatbot visibility, and other features here.
![Redis Microservices E-commerce App Frontend - Settings Page](images/08-settings.png)

**Dashboard (Geo Location Search):** Configured for `Geo location search`, the search bar enables location queries. <br/>
_Note:_ In our demo, each zipCode location is mapped with lat long coordinates.
![Redis Microservices E-commerce App Frontend - Semantic Text Search](images/01-dashboard-geo-search.png)

**Shopping Cart:** Add products to the cart and check out using the "Buy Now" button.
![Redis Microservices E-commerce App Frontend - Shopping Cart](images/02-cart.png)

**Order History:** Post-purchase, the 'Orders' link in the top navigation bar shows the order status and history.
![Redis Microservices E-commerce App Frontend - Order History Page](images/05-order-history.png)

**Admin Panel:** Accessible via the 'admin' link in the top navigation. Displays purchase statistics and trending products.
![Redis Microservices E-commerce App Frontend - Admin Page](images/06-admin-charts.png)
![Redis Microservices E-commerce App Frontend - Admin Page](images/07-admin-top-trending.png)
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
:::tip GITHUB CODE

Below is a command to the clone the source code for the application used in this tutorial

git clone --branch v10.1.0 https://github.com/redis-developer/redis-microservices-ecommerce-solutions

:::
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
419 changes: 419 additions & 0 deletions docs/howtos/solutions/geo/getting-started-geo/index-geo-search.mdx

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,13 @@ module.exports = {
'howtos/solutions/triggers-and-functions/getting-started-tf/index-triggers-and-functions',
],
},
{
type: 'category',
label: 'Geo Location Search',
items: [
'howtos/solutions/geo/getting-started-geo/index-geo-search',
],
},
],
},
'howtos/leaderboard/index-leaderboard',
Expand Down
Loading