/ula-uconferer

Plataforma de conferencias virtuales - IS2021 ULA

Primary LanguageTypeScript

uconferer

Plataforma de conferencias virtuales - IS2021 ULA

Setup

In order to initiate the apps, it is necessary to install:

In order to enable the hasura console, it is necessary to be installed:

Make sure to install version 2.x.x

Auth0

Follow the setup steps from nextjs-auth0.

  • cp .env.local.example .env.local
  • Update values at .env.local.

Rules

Create the corresponding rules at apps/auth0/rules.

Their setup instructions are located at the top of each rule.

Make sure to have them in the following order:

  • user-reconciliation: User reconciliation with our DB for new users that log into our app.
  • role-claim: Add user's role and hasura's auth info to headers.

Initiate apps

cd apps
docker-compose up

Access to the web app in http://localhost:3000.

Hasura Console

Hasura console has been disabled by default to allow migrations file creation via GUI.

  • In order to open the console:

    cd apps/api
    hasura console
    # INFO console running at: http://localhost:9695/
  • Access to the given url: e.g. http://localhost:9695