Skip to content

outerlabs-studio/astro-studios

Repository files navigation

Astro Studios Frontend

Setup

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

  1. Install node modules:

    $ npm i

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

    $ vc link

    $ vc env pull

  3. run development environment:

    $ npm run dev

Stack

Third Party

Folder Structure

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

  • /assets: General Images/Videos, SVGs, and Fonts
  • /components: Reusable components
  • /components/views: Sections of the website
  • /hooks: Reusable Custom Hooks
  • /lib: Reusable Scripts and State Store
  • /styles: Global styles and Styled Components partials