mirror of
https://github.com/Leahnaya/smash-or-pass.git
synced 2026-03-21 19:34:08 -05:00
chore: setup README
This commit is contained in:
parent
bce2e4f5ad
commit
42d05ab7ab
29
README.md
29
README.md
|
|
@ -0,0 +1,29 @@
|
|||
# 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
|
||||
|
||||
```bash
|
||||
$ cd projectRoot
|
||||
$ npx husky install
|
||||
```
|
||||
|
||||
|
||||
To run the react app locally using npm, run the following commands
|
||||
|
||||
```bash
|
||||
$ cd projectRoot
|
||||
$ npm install
|
||||
$ npm start
|
||||
$ npx json-server --watch db.json --port 8080
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user