Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

JuanM04/veritas-pwa

Repository files navigation

Veritas



Official PageChangelog

Getting Started

yarn global add now
now login
yarn install
now dev

Folder Structure

Folder Content
components/ Next.js components
pages/ Next.js pages
static/ Next.js static files
api/ Express endpoints (lambdas)
utils/ Metadata and common funcitons (Next.js and API)
prisma/ Prisma configuration and client
design/ Sketch files

Environment Variables

  • PASSWORD: Password to access (used in /acceder)
  • JWT_SECRET: Secret for JsonWebTokens
  • PRISMA_SECRET: Secret to use with Prisma Cloud

Prisma Deployment

You should change endpoint in prisma/prisma.yml

yarn global install prisma
prisma login
cd prisma
prisma deploy -e ../.env