- Navigate to
rjecnik-web
:
cd rjecnik-web
- Install npm packages:
npm install
- Configure the application:
cp .env.example .env
- Run the application:
npm run dev
Open http://localhost:3000 with your browser to see the result.
-
Start docker desktop
-
Start the supabase container:
supabase start
-
From the console output copy the values of
API URL
andanon key
forNEXT_PUBLIC_SUPABASE_URL
andNEXT_PUBLIC_SUPABASE_ANON_KEY
-
Stop the container
supabase stop
supabase stop --no-backup
- To create a new migration for the supabase database run:
supabase migration new <migration_name>
-
Navigate to
supabase/migrations
, find your new migration file and write you SQL. -
Apply the new migration by restarting the supabase container