please create environment variables first as given below
NODE_ENV = development or production
PORT = port name
MONGO_URI = mongodb://localhost/databasename
also insert
stripekey=" jkdshfsjkhd543573589hjhs8r"
this is not valid key use your own stripe key in stripe website
file path pizza-shop-mern-stack-app/client/src/components/Checkout.jsx
then insert ssecret key in
"pizza-shop-mern-stack-app/routes/orderRoute.js"
like
const stripe = require("stripe")(
"sk_testjfdshkjfhsu43534sjkfsdkjfhw343"
);
again above key is not valid use your own stripe key on stripe wesite generate your own key
🍕🍕🍕good luck 🍕🍕🍕
-
Notifications
You must be signed in to change notification settings - Fork 0
umair39/pizza-shop-mern-stack-app
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published