Built using Next.js, Redux, TailwindCSS, Firebase
https://amazon-clone-dhruv-gursahani-1.vercel.app/
- Full featured shopping cart
- Services carousel
- User's order page
- Order Storage in Firestore
- Stripe payment integration
For any bugs or errors in the project reach out to me on dhruv.gursahani@outlook.com
- cd Amazon-Clone
- yarn install
- GOOGLE_ID
- GOOGLE_SECRET
- FIREBASE_API_KEY
- FIREBASE_AUTH_DOMAIN
- FIREBASE_PROJECT_ID
- FIREBASE_STORAGE_BUCKET
- FIREBASE_MESSAGING_SENDER_ID
- FIREBASE_APP_ID
- FIREBASE_SERVICE_ACCOUNT_KEY
- NEXTAUTH_URL
- NEXTAUTH_SECRET
- STRIPE_PUBLIC_KEY
- STRIPE_SECRET_KEY
- STRIPE_SIGNING_SECRET
- HOST
-
Variables 1-2 can be found in google cloud console
-
Variables 3-8 can be found in firebase console (settings->project settings)
-
Variables 10 and 15 are the domain of deployed project
-
Variable 11 can be generated using the following command "openssl rand -base64 32"
-
Variable 12 - 13 can be found in Stripe developer dashboard
-
Variable 14 can be genrated by running "stripe listen --forward-to localhost:3000/api/webhook" in Stripe CLI
- yarn dev
The MIT License
Copyright (c) 2022 Dhruv Gursahani https://dhruvgursahani.netlify.app
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.