Skip to content

ComicScrip/next-portfolio-template

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

Install dependencies

npm i -g pnpm
pnpm i

Environement variables

cp .env.example .env

And then change variables inside .env to match your own environment. If you ever want to add an environment variable, please add it to .env.example.

Setup the database

pnpm run resetDB
pnpm run showDB

Run the development server

pnpm run dev

Run the tests

Run a server in test mode

(so that some external services can be mocked)

pnpm run dev:test

Run tests in CLI

pnpm run test

Run tests with the Cypress GUI

pnpm run test:gui