Deploying Applications
# Deploying Applications
1. What is the package.json file used for?
The package.json file is used for holding and deploying all of your extensions. Bootstrap and mongoose are some of the extensions that it can hold.
2. At what level of your project do you need package.json when deploying your application? Why?
The package.json needs to be in the main level of both the server and the application. The reason is to ensure that every file has the necessary extensions
3. What command will ensure that your Vue code is compiled properly for deployment?
npm i. This command installs all needed node packets before going.
4. _______ are used to provide your application with specific data based on it's environment. For example: connections strings, private keys or port. Fill in the blank.
Workspaces.
5. What are the two ways to view the logs from your Heroku app.
You can either go through Mongo db, or use get commands on postman.
6. How do you update an app already deployed on Heroku?
You have to commit changes, and then push the to heroku. This is what I found online, as I have yet to deploy our app to heroku.
7. Why is branching important to version control?
It helps differentiate in progress code from working and deployed code.
8. When should code review happen?
Code review should happen frequently. This is to avoid errors, and keep the code consistent between people.
9. What is the term used to define combining two branches?
git merge