Skip to content

Commit

Permalink
github search engine project push
Browse files Browse the repository at this point in the history
  • Loading branch information
Billy-FE committed Apr 18, 2022
1 parent a8e063a commit 1b96877
Show file tree
Hide file tree
Showing 29 changed files with 29,500 additions and 0 deletions.
1 change: 1 addition & 0 deletions github-search-engine/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
REACT_APP_GITHUB_TOKEN="YOUR GITHUB TOKEN"
5 changes: 5 additions & 0 deletions github-search-engine/.firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "billy-fe-github-search-engine"
}
}
23 changes: 23 additions & 0 deletions github-search-engine/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
15 changes: 15 additions & 0 deletions github-search-engine/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Github Search Engine

npm install 한후 package.json에 입력된 scripts를 참고하여 dev server를 실행하거나 build 하면 됩니다.

완성코드에는 API KEY가 없습니다. 본인의 API KEY를 입력하셔야 합니다.


# ⚠️ 주의사항 ⚠️
API KEY는 front코드 에서 가지고 있거나, github 업로드 하게 되면 외부인에게 탈취될수 있습니다!!

현 프로젝트에서 사용되는 API KEY는 강의 목적으로 무료 plan을 사용하고 있어서 문제 될일이 없겠지만,

추후 유료 plan의 API KEY 사용시 외부인에게 탈취되면 문제가 될수 있습니다.

이 경우 API KEY를 저장하는 방법을 따로 고민하셔야 합니다!!!
19 changes: 19 additions & 0 deletions github-search-engine/firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
],
"headers": [
{"source": "/service-worker.js", "headers": [{"key": "Cache-Control", "value": "no-cache"}]}
]
}
}
Loading

0 comments on commit 1b96877

Please sign in to comment.