Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 2.29 KB

CONTRIBUTING.md

File metadata and controls

53 lines (37 loc) · 2.29 KB

Contribution Guide for Movies and Shows API

Installation

Make sure git is installed in your system.

Creating a Pull Request:

  1. Click on the fork on the top to fork this repo.

FORK

  1. Go to your forked Repository.
  2. Hit the clone button on your forked repo and copy the given link. CLONE

NOTICE! Your URL will be diffrent to what's shown and have your github username instead of nayyyhaa

  1. On your terminal / command prompt, type "git clone [put the link here]".
  2. Change the db.json file in the folder with your favorite movie/shows. EXAMPLE FORMAT OF ONE DATA IN JSON
      {
      "id": "falling-down",
      "title": "Falling Down",
      "plot": "An ordinary man frustrated with the various flaws he sees in society begins to psychotically and violently lash out against them.",
      "genre": "Action, Crime, Drama",
      "rating": 7.6,
      "year": "1993",
      "poster": "https://images.app.goo.gl/5YfzB9qGbbsopeT4A"
    }

It should include id, title, plot, genre, rating, year and poster in respective movies or shows array.

NOTE: id is in kebab case and genre is comma seperated string`

  1. Afterward, on your terminal / command prompt, type "git add db.json"; then 'git commit -m "[type a message]" '.
  2. Create a remote to link the repository on github to your local workspace. use "git remote add [remote-name] [put the github link here]"
  3. Push the commit. For example, type "git push [remote-name] main".
  4. Go back to the original repo.
  5. Hit "new pull request" and compare between forks. PR
  6. Add a message and click on Create Pull Request. PR2

Confirm the pull request and that's it!!

🥁*BADUM-TISS!!!*🥁

YAYY!!! You've finally made your Open Source Contribution OR maybe you will. 😉