Giter Site home page Giter Site logo

divyam2600 / amazon-clone-2.0 Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 2.0 47.94 MB

Amazon 2.0 Clone built using Next JS, Tailwind CSS, FakeStore Api, Stripe, Redux, Firebase. Additionally React Toast, React Confetti, Heroicons, React Carousels, etc have been used.

Home Page: amazon-clone-2-0-five.vercel.app

JavaScript 95.80% CSS 4.20%
amazon-clone confetti-animation ecommerce-website fakestoreapi firebase heroicons nextjs react-responsive-carousel redux stripe tailwindcss toast-notifications

amazon-clone-2.0's Introduction

Amazon Clone 2.0

Version License: MIT Amazon Clone 2.0 Template Video

About The Build

Amazon 2.0 is one which fetches products data from FakeStore Api and has Slick Animations, Eye-Catching UI, Toast notifications, Stripe Payment Integration and many more. However, the Stripe webhook passes 500 Err code(Internal Server Error) which prevented the implementation of the Order Page Logic and integration of Firebase Database.

Click Template Video above to view the demo of the build.

Template Screenshot

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

Start with a pre-made Starter Template

Execute create-next-app with npm or Yarn to bootstrap the example with a pre-configured starter template of NextJs App with TailwindCSS:

npx create-next-app --example with-tailwindcss with-tailwindcss-app
# or
yarn create next-app --example with-tailwindcss with-tailwindcss-app

Now finally run your Project

Run your build process with npm run dev or whatever command is configured in your package.json file.

npm 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

Author

๐Ÿ‘ค Divyam Agarwal

Show your support

Give a โญ๏ธ if this project helped you!

amazon-clone-2.0's People

Contributors

divyam2600 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.