| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This project is Build a Task Manager using React / Context API / Hooks.
- Download the project
- cd golde-react-template
- npm install
- npm install -g babel-cli (if you don't have Babel installed globally)
- npm install -g webpack-cli (if you don't have Webpack installed globally)
- npm install -g webpack (if you don't have Webpack installed globally)
- npm install webpack-bundle-analyzer --save-dev
- npm install sass-loader mini-css-extract-plugin --save-dev
- npm run build:dll
- npm run start
- Go to: http://localhost:3000You can manually run the stylelinter and eslinter but you have husky configured in githook with precommit to run when you commit.
$ npm run lint || npm run lint:scssyou can omit the hook by adding the flag --no-verify
$ git commit -m "message" --no-verifyLets build the docker image we just created. Make sure you are in the project root directory in your terminal and run the following command
$ docker build . -t react-docker$ docker run -p 8000:80 react-dockerNow open http://localhost:8000 in your browser to check its running !
| Back | FazBrowse Home | New Git URL |