Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 1.78 KB

PROD-README.md

File metadata and controls

59 lines (41 loc) · 1.78 KB

[PROJECT]

Setup:

The usual process for Next.js based apps/websites:

  1. Install node modules:

    $ pnpm i

  2. Get the .env variables from Vercel (check .env.template), after installing Vercel CLI:

    $ vc link

    $ vc env pull

  3. run development environment:

    $ pnpm dev

Stack:

Code Style & Linting:

Third Party (optional tools):

Folder Structure:

Alongside the usual Next.js App Router folder structure (/public, /app, etc.) We've added a few other folders to keep the code easier to read:

  • /components: Reusable components with their respective CSS modules
  • /app/(pages): Page components and layouts
    • /r3f: Three.js/React Three Fiber components
  • /libs: Core functionality and integrations
    • Storyblok integration
    • Shopify integration
    • Theatre.js integration
    • WebGL utilities