10000 GitHub - Omarlsg98/marketing-ai: Website hosting a chat with a Marketing Agent build with OpenAI, Nextjs and Supabase
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Omarlsg98/marketing-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interseed

Template from Next Starter AI.

Getting Started

# Install dependencies
yarn install

# Run the development server
yarn run dev

# Build for production
yarn run build

Adding UI components

  • Add components and pages in the components directory.
  • Don't hardcode any data in the components, use props instead.
  • Don't put the page components in the app directory, put them in the components directory. The app directory is only for the layout, routing, and business logic.
  • Add a .stories.ts file per component in the stories directory.

Use yarn run storybook to view the components in isolation, test, debug and document them.

Managing Supabase

# login to supabase
npx supabase login

# init the project (do this only once)
npx supabase init

# create a migration
npx supabase migration new schema_test

# Select the project
npx supabase link

# get cahnges from upstream
npx supabase db pull

# reset the database (apply migrations and seed data)
npx supabase db reset

# Apply migrations to the database
npx supabase db push

# setup local environment 
npx supabase db start 

# get typescript types
npx supabase gen types --lang=typescript --local > types/supabase.ts

About

Website hosting a chat with a Marketing Agent build with OpenAI, Nextjs and Supabase

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0