Skip to content

coderkhalide/amazon-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

68286b0 · Jan 13, 2025

History

30 Commits
May 17, 2021
May 26, 2021
May 17, 2021
Jan 13, 2025
May 24, 2021
May 26, 2021
May 22, 2021
May 22, 2021
May 22, 2021
May 17, 2021
May 22, 2021
May 19, 2021
May 22, 2021

Repository files navigation

Amazon Clone

Template Screenshot

Installation Steps

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

# 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

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.