Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
foundation1-gcp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Syed Bilal Raees
foundation1-gcp
Commits
f76cd13f
Commit
f76cd13f
authored
Dec 22, 2022
by
Syed Bilal Raees
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aap yaml
parent
5fba8b00
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6029 additions
and
10736 deletions
+6029
-10736
app.yaml
nodejs-retail/app.yaml
+9
-0
.gcloudignore
ulta-beauty/.gcloudignore
+17
-0
app.yaml
ulta-beauty/app.yaml
+37
-0
package-lock.json
ulta-beauty/package-lock.json
+5965
-10735
search.js
ulta-beauty/src/components/search.js
+1
-1
No files found.
nodejs-retail/app.yaml
0 → 100644
View file @
f76cd13f
runtime
:
nodejs14
handlers
:
-
url
:
/(.*\..+)$
static_files
:
./
upload
:
./
-
url
:
/.*
static_files
:
build/index.html
upload
:
build/index.html
\ No newline at end of file
ulta-beauty/.gcloudignore
0 → 100644
View file @
f76cd13f
# This file specifies files that are *not* uploaded to Google Cloud Platform
# using gcloud. It follows the same syntax as .gitignore, with the addition of
# "#!include" directives (which insert the entries of the given .gitignore-style
# file at that point).
#
# For more information, run:
# $ gcloud topic gcloudignore
#
.gcloudignore
# If you would like to upload your .git directory, .gitignore file or files
# from your .gitignore file, remove the corresponding line
# below:
.git
.gitignore
# Node.js dependencies:
node_modules/
\ No newline at end of file
ulta-beauty/app.yaml
0 → 100644
View file @
f76cd13f
#service: ulta-beauty-react
#
#runtime: nodejs16
#
#handlers:
# - url: /static
#
# static_dir: build/static
# - url: /(.*\.(json|ico|js|webp))$
#
# static_files: build/\1
#
# upload: build/.*\.(json|ico|js|webp)$
# - url: .*
#
# static_files: build/index.html
#
# upload: build/index.html
#
# - url: /public
# static_dir: public
#
# - url: /public/(.*\.(json|ico|js|webp))$
#
# static_files: public/\1
#
# upload: public/.*\.(json|ico|js|webp)$
#
runtime
:
nodejs14
handlers
:
-
url
:
/(.*\..+)$
static_files
:
build/\1
upload
:
build/(.*\..+)$
-
url
:
/.*
static_files
:
build/index.html
upload
:
build/index.html
ulta-beauty/package-lock.json
View file @
f76cd13f
This diff is collapsed.
Click to expand it.
ulta-beauty/src/components/search.js
View file @
f76cd13f
...
...
@@ -22,7 +22,7 @@ const Search = () => {
const
{
text
}
=
value
;
if
(
text
)
{
// const searchResults = mockResponse;
const
searchResults
=
await
fetch
(
`http
s://3002-cs-e60cf927-fc0f-43c2-b5ee-d4e6f9493653.cs-asia-southeast1-bool.cloudshell.dev
/search?text=
${
text
}
`
)
const
searchResults
=
await
fetch
(
`http
://localhost:3002
/search?text=
${
text
}
`
)
// .then(res => res.json())
.
then
(
res
=>
res
.
data
);
// console.log('searchResults', searchResults);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment