Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

first and final push #155

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,10 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

<<<<<<< HEAD
=======
# Ignore .idea files
.idea/

>>>>>>> dca548f (first and final push)
.vercel
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/Sprints.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/aws.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions interview_answers.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,24 @@ Be prepared to demonstrate your understanding of this week's concepts by answeri

1. Explain what a token is used for.

<<<<<<< HEAD
2. What steps can you take in your web apps to keep your data secure?

3. Describe how web servers work.

4. Which HTTP methods can be mapped to the CRUD acronym that we use when interfacing with APIs/Servers.
=======
An authentication token is used to tell servers who users are. Its a part of the process of showing you are who you say you are.

2. What steps can you take in your web apps to keep your data secure?

There are a few steps we can take. One is creating protected routes for certain states of our application. In order to access these areas we can utilize authorization tokens. axiosWithAuth creates a sortof gate for our HTTP methods and will forbid any unauthorized users to manipulate or view data in places they arent allowed.

3. Describe how web servers work.

A web server is a computer that stores code for a website, or a program that runs on this computer. These servers share code across the world at all times. When we load a site, its served to us by these servers, upon user request.

4. Which HTTP methods can be mapped to the CRUD acronym that we use when interfacing with APIs/Servers.

POST, GET, PUT, DELETE Create, Read, Update, Delete
>>>>>>> dca548f (first and final push)
Loading