/nextjs_playground

Kofa_playground

Primary LanguageTypeScript

This repo is a playground

This is a Next.js project bootstrapped with create-next-app with examples of the use of Next.js, Typescript, GraphQl, etc …

As a GraphQl API, I'm using here the SpaceX open API

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3333 with your browser to see the result.

Unit tests

To run unit tests one's:

npm run test
# or
yarn test
# or
pnpm test

To re-run tests each time a file is changed use the following command:

npm run test --watch
# or
yarn test --watch
# or
pnpm test --watch

To see the project test coverage use the following command:

npm run test --coverage
# or
yarn test --coverage
# or
pnpm test --coverage