Skip to content

jayeshsaini/amazon-2.0

Repository files navigation

Amazon Clone 2.0

Version License: MIT Amazon Clone 2.0 Template Video

Next.js + Tailwind CSS

Next.js is a React Production Framework which gives the best developer experience with all the features for production: hybrid static & server rendering, TypeScript support, smart bundling, route pre-fetching, and more. No config needed.

How To Start

Using npm

Run commands

  1. npm install

  2. npm run dev

Or using yarn

Run commands

  1. npm install --global yarn

  2. yarn install

  3. yarn run dev

Environment variables

Open or create a .env file then edit add this setting

SKIP_PREFLIGHT_CHECK=true

# Authentication
GOOGLE_ID=key_goes_here
GOOGLE_SECRET=key_goes_here
NEXTAUTH_URL=http://localhost:3000

# Stripe
STRIPE_PUBLIC_KEY=key_goes_here
STRIPE_SECRET_KEY=key_goes_here

# Stripe Terminal/CLI
STRIPE_SIGNING_SECRET=key_goes_here

HOST=http://localhost:3000

# Need to add this to... google cloud
# http://localhost:3000/api/auth/callback/google

# Firebase
FIREBASE_SERVICE_ACCOUNT_KEY=service_account_with_single_quote 

Use the link for more info on using Firebase ServiceAccount Key in .env: https://dev.to/vvo/how-to-add-firebase-service-account-json-files-to-vercel-ph5

Author

👤 Jayesh Saini

Show your support

Give a ⭐️ if this project helped you!

About

Building Amazon Clone using Next JS, React JS, Tailwind CSS, Firebase, FakeStore API, Stripe, Redux and more

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published