This project is used to update the prior Vue.js
landing page application to serve Neotoma Paleoecology Database datasets as landing pages using Vue3, to be served as a cloud application.
The page leverages the Neotoma v2 API and existing database structure to provide a consistently styled landing page for all Neotoma Datasets, as well as exposing properly formatted JSON-LD metadata for consumption.
This project is an open project, and contributions are welcome from any individual. All contributors to this project are bound by a code of conduct. Please review and follow this code of conduct as part of your contribution.
- Simon Goring
- Michael Stryker
- The Neotoma Paleoecology Database
This project is developed with node.js
and Vue (v3). To run the project locally first ensure you have node installed. Once node is installed either download or clone this repository to a local folder and run the following command inside the folder:
npm install
npm run dev
npm run build
Run Unit Tests with Vitest
npm run test:unit
Run End-to-End Tests with Playwright
# Install browsers for the first run
npx playwright install
# When testing on CI, must build the project first
npm run build
# Runs the end-to-end tests
npm run test:e2e
# Runs the tests only on Chromium
npm run test:e2e -- --project=chromium
# Runs the tests of a specific file
npm run test:e2e -- tests/example.spec.ts
# Runs the tests in debug mode
npm run test:e2e -- --debug
Lint with ESLint
npm run lint