rovo79 / researchhub-web

Open Source ResearchHub - Web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup

  1. nvm use (installing nvm)
  2. yarn install
  3. npm run dev

Contributing to the codebase

  • Follow this short guide to ensure our bundle sizes remain optimal
  • Write tests
  • Our pre-commit hooks will run automatically upon commit (i.e. linting)
  • To skip pre-commit hooks, add --no-verify flag to force commit (not recommended)

Tests

Integration Tests

Integration tests are created using cypress

  • Run npm run test to run all integration tests in headless mode
  • Run npm run cy:open to pick which tests to run in browser mode
  • Run npm run cy:spec --spec path/to/your/test to run a specific spec.
    e.g. npm run cy:spec --spec tests/cypress/integration/ui/search.spec.js

More Info

  • This project was bootstrapped with Create Next App.
  • Find the most recent version of this guide at here. And check out Next.js repo for the most up-to-date info.

About

Open Source ResearchHub - Web


Languages

Language:JavaScript 84.1%Language:TypeScript 14.8%Language:CSS 0.9%Language:Shell 0.1%Language:Dockerfile 0.0%