/nask

Primary LanguageTypeScript

Nask recruitment task

Technologies

  • React
  • Typescript
  • React Query (API calls)
  • React Hook Form (forms)
  • Vite (builder)
  • MUI (styles)
  • Zod (validation)
  • Cypress (tests)
  • React Router (routing)

Installation

  • Clone the repository: https://github.com/depish1/nask.git
  • Install dependencies: npm install
  • Run the app: npm run dev
  • In the second terminal run json server: npm run server
  • If you want to reset the server database to the default data, copy the contents of the db_backup.json file and replace the contents of the db.jso file with it

Tests

  • Run app: npm run dev
  • In the second terminal run json server: npm run server
  • In the third terminal run tests: npx cypress run
  • Alternatively, if you want to run the tests in the runner instead of the console, use npx cypress open