Skip to content

Latest commit

 

History

History
53 lines (31 loc) · 1.55 KB

README.md

File metadata and controls

53 lines (31 loc) · 1.55 KB

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

Docker image is available publicly using docker pull ghcr.io/british-oceanographic-data-centre/amrit-repos/typescript/app:{TAG}.

Getting Started

First, install dependencies:

npm run install

Then run the development server:

npm run dev

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

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Linting

To lint the code base, after doing npm install use the command npm run lint.

Testing

To test the code base, you can run Unit tests with Jest and E2E tests with Cypress.

Add unit *.test.tsx test files in /__tests__/ and run them with:

npm test

Add E2E *.cy.js test files in /cypress/e2e/ and run them with:

npm run cypress:run

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!