Front End repository for the Uniswap Clone project strictly for educating purposes
Navigate to directory on your machine:
cd folder/to/clone-into/
Clone repository:
git clone https://github.com/Blockchain-Uniben/frontEnd_chainSwap
Install all dependencies:
npm i
# or
yarn install
First, run the development server:
npm start
# or
yarn start
.
├── ...
├── components # Contains all page components (HOCs, elements, etc.)
├── single component # Contains a .js file and a module.css file
├── .js or .jsx # actual component
├── .module.css # css file mapped to that single component to avoid name clashing
├── api # various links for api calls
├── hooks # All hooks
├── assets # Images
└── ... └──package.json # Contains all dependencies
Fork the Repo
Clone the Repo -
git clone https://github.com/<Username>/Blockchain-Uniben/frontEnd_chainSwap.git
Create a new remote for the upstream repository -
git remote add upstream https://github.com//Blockchain-Uniben/frontEnd_chainSwap
Create a new branch with your username -
git checkout -b <username>
Add some code -
git add .
Commit your changes -
git commit -m "Adding an awesome feature to ...."
Push changes to your repo -
git push -u origin <username>
Create a pull Request
Repeat! Repeat! Repeat!... Let's keep on building magic!
To learn more about React take a look at the following resources:
- React documentation - Learn about react and it's installation