The goal for this application is to serve as a repository for great local restaurants. I've been building it out as a way to explore some tools, especially React Server Components. Here's the current stack:
- React with Server Components
- Typescript
- Tailwind
- shadcn/ui (Components)
- Supabase (Database)
The UI is heavily inspired by AirBnb's wonderful designs.
- Components are bucketed by page (such as
restaurantDetails
orrestaurantIndex
). Each may have a top-level_main.tsx
or_loading.tsx
. These top-level components should only be concerned with layout of the major page components.
"use client"`` should not be used in
appdirectory. The
appdirectory should be reserved only for Server Components.
"use client"should be used only in
components` directory.
- The
encoding
package under devDependencies was added only due to a compilation warning detailed here: supabase/supabase-js#612 -- if the issue is ever resolved the package may be removeable.