Skip to content

tabletop-generator/ttg-client-web

Repository files navigation

ttg-client-web

Contributing

See CONTRIBUTING.md

Prerequisites

Setup

You will need to provide the following environment variables:

  • NEXT_PUBLIC_SUPABASE_URL
  • NEXT_PUBLIC_SUPABASE_ANON_KEY
  • NEXT_PUBLIC_API_URL: Your ttg-server deployment URL
  1. Clone the project to your workspace.

    git clone <url> ttg-client-web
    cd ttg-client-web
  2. Create a .env file with development presets. Then enter your own environment variables from the links above.

    cp .env.example .env
  3. Install and use the project's supported Node.js version.

    With nvm:

    nvm install

    With fnm:

    fnm install
  4. Install dependencies.

    npm install
  5. Build the website.

    npm run build
  6. Serve the website on localhost:3000.

    npm run start

Solution Stack

Contributors 2

  •  
  •