Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ecommerce-maven
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
Ascend
ecommerce-maven
Commits
a8faaf31
Commit
a8faaf31
authored
May 14, 2021
by
Kyle Muldoon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
done with these
parent
e574dd24
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20484 additions
and
33 deletions
+20484
-33
application.properties
ecom-service/src/main/resources/application.properties
+7
-7
package-lock.json
ecom-web/package-lock.json
+20475
-24
checkout.js
ecom-web/src/components/checkout/checkout.js
+2
-2
No files found.
ecom-service/src/main/resources/application.properties
View file @
a8faaf31
...
@@ -7,11 +7,11 @@ spring.data.mongodb.uri=mongodb+srv://ecom:ecom@e-commerce-db-cluster.va815.mong
...
@@ -7,11 +7,11 @@ spring.data.mongodb.uri=mongodb+srv://ecom:ecom@e-commerce-db-cluster.va815.mong
spring.data.mongodb.database
=
e-commerce-db
spring.data.mongodb.database
=
e-commerce-db
security.enable-csrf
=
false
security.enable-csrf
=
false
server.port
=
8080
server.port
=
8080
#
#products.apiUrl=http://13.64.175.185:8080
#promos.apiUrl=http://40.118.215.99:8082
#orders.apiUrl=http://138.91.251.222:8086
products.apiUrl
=
http://13.64.175.185:8080
products.apiUrl
=
http://localhost:8083
promos.apiUrl
=
http://40.118.215.99:8082
promos.apiUrl
=
http://localhost:8082
orders.apiUrl
=
http://138.91.251.222:8086
orders.apiUrl
=
http://localhost:8084
#products.apiUrl=http://localhost:8083
#promos.apiUrl=http://localhost:8082
#orders.apiUrl=http://localhost:8084
ecom-web/package-lock.json
View file @
a8faaf31
This diff is collapsed.
Click to expand it.
ecom-web/src/components/checkout/checkout.js
View file @
a8faaf31
...
@@ -32,9 +32,9 @@ export default function Checkout() {
...
@@ -32,9 +32,9 @@ export default function Checkout() {
///////////////////////
///////////////////////
// Billing Info State
// Billing Info State
///////////////////////
///////////////////////
const
[
cardNumber
,
setCardNumber
]
=
useState
([
"123456789"
])
const
[
cardNumber
,
setCardNumber
]
=
useState
([
"123456789
123456
"
])
const
[
cardHolderName
,
setCardHolderName
]
=
useState
([
"Guy Fieri"
])
const
[
cardHolderName
,
setCardHolderName
]
=
useState
([
"Guy Fieri"
])
const
[
expirationDate
,
setExpirationDate
]
=
useState
([
"05/202
0
6"
])
const
[
expirationDate
,
setExpirationDate
]
=
useState
([
"05/2026"
])
const
[
cvv
,
setCVV
]
=
useState
([
"123"
])
const
[
cvv
,
setCVV
]
=
useState
([
"123"
])
///////////////////////
///////////////////////
// Order Review / Summary State
// Order Review / Summary State
...
...
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