- git clone https://github.com/alyssa-higdon/Geri-Stock
- If you don't already have npm, install npm at this website
https://nodejs.org/en/download/
npm install
npm install crypto-js
npm install jest
Navigate to your Frontend folder by doing cd Frontend
folder and do the following installations
npm i --save material-ui-search-bar
npm config set legacy-peer-deps true
npm install
npm install @material-ui/core
-
Go into the Backend folder
-
Run
npm run dev
-
Go into the frontend folder
-
Run
npm start
- In VS Code, add the extention Prettier ESLint
- In terminal, go to your root directory and run
npm install eslint-config-prettier eslint-plugin-prettier prettier --save-dev
- To ensure that one only pushes lint free code to git hub:
- From your root directory, go to
.git/hooks/pre-commit
.sample - Replace the contents of the file with the contents of
pre-commit.txt
in the root of this GitHub - Rename
pre-commit.sample
topre-commit
- From your root directory, go to
- To run eslint, run
npm run lint
in terminal
- ESLint and Prettier
- lowerCamelCase
- Same-line curly braces
- Double quotes