Code Monkey home page Code Monkey logo

amazon-clone's Introduction

Contributing to amazon clone

Hurray!, you're here!✨. This is the first step in making your contribution to the amazon clone project. This documentation will serve as a guide for making your contibutions to this project. Follow the steps stated below carefully.

Finally, we can't wait to see your outstanding issues and pull requests. Welcome πŸ˜‡β€

πŸ“ Table of Contents

Ground Rules

Here at amazon clone, we welcome everyone to contribute to our project. You can contribute in several ways not just in code (E.g. Technical writing).

Having numerous means of contributing means working with alot of individuals which is very good for the growth πŸ“ˆ of the project but most times can lead to conflicting interests and point of views πŸ‘ˆπŸ‘‰. Below are set of rules πŸ“– that guide individuals participating in this project.

  • Openness πŸ‘. Collaboration is only possible if everyone is open to share ideas.
  • Respect πŸ‘¨πŸΎβ€πŸ€β€πŸ‘¨πŸ½. Having respect for everyone, their skills and opinions is paramount.
  • Welcoming tone πŸ˜‡πŸ’ƒ: It is expected that you interact with others in an optimistic and cheerful manner.

Things to take care while making a PR:

  • Don't forget to attach a screenshot of the final output of the work that you have done, and do mention the issue you have worked upon, while making a PR.
  • Just make sure that you push only the files that you have worked upon.

Your First Contribution

Is this your first time contributing to an open source project? If yes, Welcome!!βœ¨πŸŽ‰πŸ’ƒπŸΎ Here is a great tutorial on how to contribute to an open source project.

At this point you are ready to take on the world of open source contribution!!.

You must have seen a bug or problem you can fix, this is when you open a new issue for that problem. Let's do it together.

Steps to open a new issue

  • Step 1: Navigate to the issues navigation button. See below πŸ‘‡

issues1

  • Step 2: Scan through the currently opened issues to see if your issue(s) has been listed earlier. See below πŸ‘‡

issues2

  • Step 3: If your issue hasn't been listed yet, click on the New issue button at the top right corner to add your new issue. See below πŸ‘‡

issues3

  • Step 4: Select the type of issue you want to raise. It's up to you whether you want to report a bug, a documentation issue or a feature request.

issues4

  • Step 5: Time to add your amazing issue. You have to add the title and a brief description of the issue. For further explanation, images can be added as well. See below πŸ‘‡

issues5

  • Step 6: Submit the issue. See below πŸ‘‡

issues6

Hurray, you just made added your first issue. The managers of amazon clone will now review your issue and you will either get assigned to the issue, have it closed or a comment will be dropped for you.

You have been assigned an issue πŸ₯‚ and are confused 😡 about where to go from here, follow this guide below to make your changes and pull request 🍾.

Getting Started

Skip all of the steps below by using Gitpod, which would automatically do all of that for you

Open in Gitpod

or

Fork the amazon clone repository. See below πŸ‘‡

fork

Clone the repository you forked above. See below πŸ‘‡

clone

Using the command below, you can clone the repo.

git clone https://github.com/Kanika637/amazon-clone.git

Navigate to the cloned directory using command line. See below πŸ‘‡

cd amazon-clone

Install all the dependencies. See below πŸ‘‡

npm i

Make a new branch. See below πŸ‘‡

branch


git checkout -b "Your Branch Name"

A good branch name would begin with the issue ticket and the assigned issue. See below πŸ‘‡

// "#343" is the issue ticket number and "make a request" is the assigned issue name.

git checkout -b "#343-make a request"

You are all set!! πŸΎπŸŽ‰. You can now make your changes locally. Once you are done making all your changes, you can now push code and make a pull request.

Steps for making a pull request

You have to switch to the main branch and make sure it's up to date with the amazon's clone main branch. To do so, use the following commands below.

git remote add upstream https://github.com/Kanika637/amazon-clone.git
git checkout main
git pull upstream main

You can now update your branch from your local copy of main, and push it!. See how below. πŸ‘‡

git add .
git commit -m "<your commit message>"
git push origin <name-of-your-branch>

Hurray!!, we are done with the hard part. Head to github to make the pull request Github will check for conflicts and if non is found, you can make the pull request and the mainteners of amazon clone will review your pull request to have it merged or make a comment on it.

Code review process

The maintainer of amazon-clone looks at Pull Requests on a regular basis and carries out merging or comments on the requests. You can close a pull request if it isn't showing any activity after two weeks.

Commit messages

Amazon-clone has certain conventions that should be adopted when contributing.

Commit message conventions.

  • Commit test files with test: ... prefix
  • Commit bug fixes with fix: ... prefix
  • Commit new features with feat: ... prefix
  • Commit changes to package.json, .gitignore and other meta files with chore(filenamewithoutext): ...
  • Commit changes to README files or comments with docs: ...
  • Cody style changes with style: standard

Thanks to all Contributors

Don't forgot to give a ⭐ to the repo, if you learned something!

amazon-clone's People

Contributors

kanika637 avatar jai-solania-29 avatar shivam-katare avatar mecskyverse avatar shivamkatare-accuknox avatar uvsingh2706 avatar shubhampatil0723 avatar adithya-sr avatar ramyashreeshetty avatar vanshiii203 avatar webcoderspeed avatar void-ness avatar tomahawk-jupiter avatar tamalcodes avatar makdoom avatar ayushrlw avatar j0sal avatar najeebkp avatar aahil13 avatar zugzwang03 avatar jaideepghosh avatar harshit0571 avatar apala7778 avatar prnvtripathi avatar itznesbrodev avatar anshupathak-88825 avatar annupriy avatar jsvigneshkanna avatar priyanshusingh305 avatar keishaharris avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.