mirror of
https://github.com/Leahnaya/smash-or-pass.git
synced 2026-03-21 17:25:34 -05:00
Smash or Pass
| .husky | ||
| .idea | ||
| docker | ||
| nginx | ||
| public | ||
| src | ||
| .eslintignore | ||
| .eslintrc | ||
| .gitignore | ||
| .prettierrc | ||
| craco.config.js | ||
| down.sh | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| up.sh | ||
smash-or-pass
Simple Smash or pass created with React. Available with Pokemon list for now.
Environment Variables
If you want to change environment variables, you just have to modify the config file found in public/env/Config.js
Husky
if you want to enable a pre-commit hook for prettier and eslint with husky, run the following commands
$ cd projectRoot
$ npx husky install
To run the react app locally using npm, run the following commands
$ cd projectRoot
$ npm install
$ npm start
$ npx json-server --watch db.json --port 8080