Skip to content

Latest commit

 

History

History
67 lines (49 loc) · 2.19 KB

PROD-README.md

File metadata and controls

67 lines (49 loc) · 2.19 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 Sass file
  • /docs: Readmes on how to use third party tools at darkroom
  • /hooks: Reusable Custom Hooks
  • /libs: Reusable Scripts and State Storing, hubspot integration, sass utils, etc.
  • /styles: Global styles and Sass partials