A little game about Dogs and Breeds that uses the Dog API. Developed starting from the clean code of react-boilerplate.
To start:
- clone the repo.
git clone https://github.com/francescaSchiro/Razz-De-Can.git
- install dependencies
npm i
- Start with:
npm start
Please note that this boilerplate is production-ready and not meant for beginners! If you're just starting out with react or redux, please refer to https://github.com/petehunt/react-howto instead. If you want a solid, battle-tested base to build your next product upon and have some experience with react, this is the perfect start for you.
- Make sure that you have Node.js v8.10 and npm v5 or above installed.
- Clone this repo using
git clone --depth=1 https://github.com/react-boilerplate/react-boilerplate.git <YOUR_PROJECT_NAME>
- Move to the appropriate directory:
cd <YOUR_PROJECT_NAME>
. - Run
npm run setup
in order to install dependencies and clean the git repo. At this point you can runnpm start
to see the example app athttp://localhost:3000.
- Run
npm run clean
to delete the example app.
Use of GitFlow
(not from the very beginning)
- Whenever I add a new feature I move onto a new branch:
git branch -b feature/<feature_name>
; - After 1st commit:
git push -u origin <branch>
in order to add it also remotely; - When I'm satisfied with the feature and after last commit:
git push
& move to developgit checkout develop
& merge onto developgit merge feature/<feature_name>
- Then create and move onto anothe branch to implement new features
git checkout -b feature/<new_feature_name>
Some library I used:
- FormattedMessages;
- FontFaceObserver;
- styled-components
- Redux
- Saga
- Loadable