Supra Coders Cheatsheet

This is to show terminal commands or notes useful for the Supra Coders program.

Javascript

  1. Installing Jest ``

REACT

  1. Install/create a React app: npx create-react-app [app-name]
  • note: npx is node package executor
  • To run, use command npm start
  • Import React dependecies/libraries:
  • react-router: npm install react-router, npm install react-router-dom
  • styled-components: npm install styled-components
  1. Install Cypress and testing library npm install --save-dev cypress @testing-library/cypress
  • To run, use command npm cypress open
  1. Install React testing ``