Skip to content

A highly performant replica of McMaster-Carr using Next.js - nextjs, react

License

Notifications You must be signed in to change notification settings

appcrafts/NextMaster

 
 

Repository files navigation

NextMaster

A highly performant replica of McMaster-Carr using Next.js and AI generated content by @ethanniser, @RhysSullivan and @armans-code

Design notes

Check out the detailed twitter thread

AI

  • Used OpenAI's gpt-3.5-turbo to generate product categories, names and descriptions
  • GetImg.ai was used to generate product images via the stable-diffusion-v1-5 model

Deployment

  • Make sure the Vercel project is connected to a Vercel Postgres (Neon) database and Vercel Blob Storage
  • Run pnpm db:push to apply schema to your db

Local dev

  • Run vc env pull to get a .env.local file with your db credentials.
  • Run pnpm install && pnpm dev to start developing
  • For DB migrations with drizzle-kit:
    • Make sure ?sslmode=required is added to the POSTGRES_URL env for dev
    • Run pnpm db:push to apply schema to your db

Performance

PageSpeed report

image

About

A highly performant replica of McMaster-Carr using Next.js - nextjs, react

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.0%
  • CSS 1.7%
  • JavaScript 1.3%