Skip to content
Snippets Groups Projects
Select Git revision
  • 0090a3bec8bff9982d45f8554e6f726388856f84
  • main default protected
  • saci/frontend#4
3 results

frontend

  • Clone with SSH
  • Clone with HTTPS
  • pedro friedrich's avatar
    pedro f authored and phfr24 committed
    0090a3be
    History

    Configuration

    1. Create a .env.local file in the root directory of the project:
    # API host for internal requests.
    #
    # For example, if the API is running on localhost:8080,
    # set INTERNAL_API_HOST=localhost:8080.
    #
    # If the API is running as a docker compose service called "api",
    # set INTERNAL_API_HOST=api:8080.
    INTERNAL_API_HOST=
    
    # API host for public requests.
    #
    # This is the host that the client will use to make requests to the API.
    # It is needed because the client connects to the API from the browser
    # for websocket connections.
    #
    # For example, if the API is running on saci.inf.ufpr.br:8080,
    # set NEXT_PUBLIC_API_HOST=saci.inf.ufpr.br:8080.
    NEXT_PUBLIC_API_HOST=

    Development

    1. Enable yarn:
    corepack enable
    1. Install dependencies:
    yarn install
    1. Start the development server:
    yarn dev