Skip to content

Enjoy the untouched beaches, mountains, lakes, and many more pleasing destinations as well as the magnificent city skylines throughout the country. And when you decide to see them all, a visit won’t be enough to embrace the wonders of Indonesia.

Notifications You must be signed in to change notification settings

wahid-ari/next-supabase-vacation

Repository files navigation

Database Design

Using drawsql

Image External

Supabase

create function to search in table (book_books) using multiple columns (title, isbn)

// https://supabase.com/docs/guides/database/full-text-search#search-multiple-columns // create function in supabase > sql editor > new query

 create function title_isbn(book_books) returns text as $$
   select $1.title || ' ' || $1.isbn;
 $$ language sql immutable;

// view function in supabase > database > function

Assets

https://asset.indonesia.travel/?fileType=images https://asset.indonesia.travel/?fileType=videos https://www.indonesia.travel/gb/en/destinations https://www.indonesia.travel/id/id/home https://www.indonesia.travel/gb/en/attractions https://www.indonesia.travel/desawisata/id/home https://www.indonesia.travel/gb/en/trip-ideas/38-destinations-in-indonesia

Province Data

https://github.com/fityannugroho/idn-area-data/blob/main/data/provinces.csv https://github.com/emsifa/api-wilayah-indonesia/blob/master/data/provinces.csv https://ibnux.github.io/data-indonesia/provinsi.json https://api-pesantren-indonesia.vercel.app/provinsi.json

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

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

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

Enjoy the untouched beaches, mountains, lakes, and many more pleasing destinations as well as the magnificent city skylines throughout the country. And when you decide to see them all, a visit won’t be enough to embrace the wonders of Indonesia.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages