Hosting, Git Workflows, and Cloud APIs

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/15

flashcard set

Earn XP

Description and Tags

Flashcards covering hosting choices (FTP vs modern hosting), Git workflows, cloud deployment with Vercel and DigitalOcean, MongoDB cloud setup, API basics, and domain integration.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

16 Terms

1
New cards

What old method was used for uploading files in the early days of hosting?

FTP via FileZilla (desktop) to upload files to an FTP server.

2
New cards

Why is relying on manual FTP uploads problematic?

There is no built-in record of changes, making version control and rollback difficult.

3
New cards

What is the starting point hosting tool used in the lecture notes?

Vercel, a cloud hosting platform.

4
New cards

What is the difference between Git and GitHub?

Git is the version control system; GitHub is a hosting service for Git repositories.

5
New cards

What are the common Git commands used to push a project to GitHub?

git init, git add ., git commit, git remote add origin , git push.

6
New cards

Why do we ignore node_modules in a Git repository?

To avoid uploading dependencies; they can be installed later with npm install.

7
New cards

What is Vercel's hobby plan?

A free plan that provides enough resources for starting deployments, suitable for student projects.

8
New cards

What are the two main hosting approaches discussed for deployment with DigitalOcean?

Apps (GitHub-backed deployments) and Droplets (full virtual machines you manage).

9
New cards

What is a Droplet in DigitalOcean?

A virtual machine with an OS that you control (e.g., Ubuntu, Debian).

10
New cards

What is MongoDB Atlas (cloud) access control commonly configured as?

Network access (IP whitelisting) and database access credentials; can be open to all for testing or restricted.

11
New cards

What is a replica set in MongoDB and its benefit?

Multiple nodes (e.g., 3) providing redundancy and higher uptime.

12
New cards

What is Compass in the context of MongoDB?

A GUI tool to connect to and manage MongoDB databases.

13
New cards

What is the purpose of API keys when using open APIs like OpenWeatherMap?

Identify your project and authorize usage; helps with billing.

14
New cards

What is the typical data format returned by APIs and consumed by apps?

JSON (JavaScript Object Notation).

15
New cards

What is the basic method used to fetch data from APIs in a web app?

Using fetch (or similar) to call API endpoints and retrieve JSON.

16
New cards

How can you attach your own domain name to a deployed app?

Add the domain in the hosting provider's UI and update DNS records to point to the app.