Skip to content

Latest commit

 

History

History
87 lines (58 loc) · 2.29 KB

CONTRIBUTING.md

File metadata and controls

87 lines (58 loc) · 2.29 KB

Setup on your local machine

Prerequisites

ER Diagram

ER diagram of buddies-tube

Simplified application flow

Sequence diqgram for buddies-tube

Initial Steps

  1. Fork this repository, click on the fork icon located on top-right side of this page, below your avatar

  2. Clone that forked repository.

git clone https://github.com/[yourUsername]/buddies-tube.git buddies-tube
  1. Set up the upstream remote URL for referencing the original repository
git remote add upstream https://github.com/askbuddie/buddies-tube
  1. from the buddies-tube directory, install necessary dependencies
cd buddies-tube
yarn install # installs the base dependencies```

## The generic workflow

1. Pull the latest changes from the original repository (the upstream)

```bash
git pull upstream main
  1. Then, create a separate branch for every new feature/bug fix
git checkout -b [branchName] # eg. git checkout -b signup-feature
  1. Start the app(frontend+backend)
mongod # mongodb's local instance
yarn start # http://localhost:3000
  1. Do your change / Implement a new feature
  2. Don't forget to keep pushing your progress to the remote (your forked repository)
git add .
git commit -m "brief about your change..."
git push -u origin [branchName]

we recommend you to follow conventional commits instructions for writing commit messages. It's not mandatory though.

contact us if you have any problem

Getting ready to send a Pull Request

  1. Make sure all the test passes.
yarn test # should pass all the checks
  1. Create a pull request,
    • Go to your forked repository on github,
    • If there are no conflicts, you will see a button saying create a new Pull Request.
    • Make sure to select the develop branch as your pull request target.
    • Click on that big green button.