Giter Site home page Giter Site logo

peternguyen777 / fem-audiophile Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.89 MB

An e-commerce application selling high-fidelity audio equipment.

Home Page: https://fem-audiophile.vercel.app

JavaScript 98.02% CSS 1.98%
nextjs redux stripe firebase tailwindcss

fem-audiophile's Introduction

alt text

NextJS / TailwindCSS / Redux / Stripe / Firebase

Note: Stripe Checkout is running test mode. Use the following test card details for demo:

  • Card Number: 4242 4242 4242 4242
  • MM/YY: 04/24
  • CVC: 424

Audiophile is an e-commerce application selling high-fidelity audio equipment. The aim was to build out a complete e-commerce website with visually rich UI, a smooth cart updating experience, the ability to receive credit/debit card payments and order information in a database. NextJS was chosen as the React framework for its additional API back-end capability.

For the front-end TailwindCSS is used for quick prototyping, easy to implement responsive styling and smooth animations. Redux Toolkit is used for managing the state of the cart, UI elements and form fields. These states are persisted into local storage using Redux Persist, retaining cart information even if the page is refreshed.

For the checkout, the project uses React-Hook-Form with yup for form validation. The user is able to pay by card via Stripe integration or can opt for cash payment at delivery. The form information is then forwarded to a Firestore database for the client to keep track of orders. This is achieved in the backend via NextJS' API Routes, sent directly to Firestore if payment is Cash on Delivery or via webhook if paying through Stripe.

alt text alt text

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.