A web app which is fully responsive that tries to imitate the desktop version of Amazon website, in this you can add, remove an item to cart, It has payment integration and also it has user authentication feature thanks to Firebase.
- Add and remove products from the basket
- User authentication
- Stripe checkout
- Data persistency with Firebase
- Firebase Cloud Functions
- Users purchase history with Cloud Firestore
- Responsive Design
- Store orders for logged in user
- Use Webhooks as they have a message or payload, and are sent to a unique URL
- Use Tailwind CSS which rapidly build modern websites without ever leaving your HTML.
- Use Next.js with all the features you need for production: hybrid static & server rendering.
- Use fakeStoreApi which is a free online REST API that you can use whenever you need Pseudo-real data for your e-commerce or shopping website without running any server-side code.
You need to install the dependencies:
npm install
In the project directory, you can run:
npm run dev
You need to install the Stripe-CLI :
stripe login
After login and enter in the browser then run this command in the terminal
stripe listen --forward-to localhost:3000/api/webhook