yarn global add now
now login
yarn install
now dev| 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 |
PASSWORD: Password to access (used in/acceder)JWT_SECRET: Secret for JsonWebTokensPRISMA_SECRET: Secret to use with Prisma Cloud
You should change endpoint in prisma/prisma.yml
yarn global install prisma
prisma login
cd prisma
prisma deploy -e ../.env