Official PDA-MIT Website Building Repo Do Star the Repo on top right
:one: Always keep updating your master branch with the main repository by running the following command on the local master branch. Here the default master branch is the main branch.
git pull upstream main
:two: Always create a new branch before making any changes. Never ever make any changes directly on the master branch. To create a new branch,
git checkout -b '<new-branch-name>'
Download Node Js and npm(Node package manager) (when you install Node, npm also gets installed by default)
Mongo DB compass which is free and a great software in order to work with MongoDB applications. Download Mongo DB compass
Run this command to install all dependencies for the project.
npm install
mongod
Run this command to start the project.
node app.js
Open link to view the website in your browser window if it doesn't open automatically.
http://localhost:3000/
:one: After Editing files in the new branch Stage your changes
git add .
:two: Commit your changes
git commit -m '<your_commit_message>'
:three: Check for Status to be sure everything is added
git status
:four: Check for your remote
git remote -v
:five: Push changes to remote
git push -u origin '<your_branch_name>'
:six: Open a Pull Request