-
Showing you details of asteroids in the solar system.
-
This projects is being bundled with ParcelJS instead of Webpack or CRA. It is fast, lightweight and requires less configuration. I'd explain how you can navigate through the project below 👇
- The folder we'd be working on, is the
src
folder. There are two subfolders in it.components
andscss
- Fork and clone this repository [the forked version] onto your machine.
git clone https://github.com/your-username/react-ecommerce.git
- Make this repository the upstream, so when there is any change you can pull from this reposiory to get the current state of the app.
git remote add upstream https://github.com/Caleb335/react-ecommerce.git
- Then you can either choose to pull from any of the available branch.
git pull upstream master || git pull upstream [branch-name]
- Create a branch, your branch name should be something related to the feature you'd be working on i.e
git checkout -b [login-component]
- Make your changes and commit them in that branch.git
git commit -m "your message"
- Push the changes to your current branch, then make a pull request.
git push origin HEAD || git push origin login-component
-
Run
npm install
in your terminal to get all the dependencies of the project. -
To see this app locally on your machine run this in your terminal
npm start
it pops open your browser and loads the app at this address localhost:1234
- I've installed prettier as a dependency, run the following command to format your codes.
npm run format