Skip to content

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

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

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Getting Started

Install the dependencies:

npm install


## Supabase

First by creating a supabase cloud project:

- go to [Supabase Dashboard](https://app.supabase.com)
- click `New Project`
- choose:
  - Organization → (create one if needed)
  - Project Name → e.g. devpulse
  - Database Password → choose a secure one
  - Region → pick the nearest location
- Click Create new project
- Wait a few moments for the database to be provisioned.

## Setup Environment

Copy the .env.example to .env

```bash
cp .env.example .env

# Open .env and fill in the values for:
# NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
# NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key

Development

First, run the development server:

npm run dev

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

Database Migrations

For a brand-new Supabase project, use this flow from the repo root.

This repository now uses a squashed baseline migration for fresh installs:

  • Active baseline: supabase/migrations/20260407120000_baseline_fresh_setup.sql

  • Historical migrations archive: supabase/migrations_archive/

  1. Login to Supabase CLI:
npx supabase login
  1. Initialize local Supabase config (only if missing):
npx supabase init
  1. Link this repo to your cloud project:
npx supabase link

You can select from the project list, or run npx supabase link --project-ref <project-ref>.

  1. Push all migrations to the new project:
npx supabase db push

On a fresh project this applies only the single baseline migration.

  1. (Optional) Pull remote schema changes into migrations:
npx supabase db pull
  1. Regenerate Supabase TypeScript types after schema changes:
npx supabase gen types typescript --project-id <project-id> --schema public > app/supabase-types.ts

If you want to re-run the full migration chain on local development:

npx supabase db reset

If you need to inspect migration history, use the files in supabase/migrations_archive/.

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

A platform for travelers to look for a nearer location.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages