Giter Site home page Giter Site logo

cloth-app's Introduction

Codacy Badge GitHub license Dependency Status devDependency Status

ClothApp

A sample e-commerce clothing application, built with React, Redux, JavaScript, and CSS.

Live Demo

https://cloth-app.herokuapp.com/

Project Screen Shots

Home Page

Shop Page

Checkout Page

Authentication Page

Installation and Setup Instructions

Clone down this repository. You will need node and npm installed globally on your machine.

Installation

Run either npm install or yarn in project root directory and client folder to build all dependencies.

Firebase config

Replace the firebaseConfig variable in client/src/utils/firebase.utils.js with your own config object from the firebase dashboard. Learn more.

Stripe config

Set the publishableKey variable in the client/src/components/stripe/StripeCheckoutButton with your own publishable key from the stripe dashboard. Learn More.

In the project root directory, create a .env file, type STRIPE_SECRET_KEY=secret_key, replacing secret_key with your own Stripe secret key. Learn More.

Start Server

npm dev or yarn dev in project root directory.

To Visit App:

localhost:3000

Languages, Tools & Libraries

JavaScript

  • ESLint : JavaScript and JSX Linter.

  • React : Library for building UI.

  • Redux : Library for managing application state.

  • Node.js / Express : Node.js for server side coding, used with express framework.

  • axios : Promise based HTTP client for the browser and node.js.

CSS

Extra

  • Firebase : Realtime database + users authentication management.

  • Stripe : Online payment platform.

Functionality overview

  • Sign-up / Sign-in using email or google account.

  • Browse items by category.

  • Add items to cart.

  • Show cart content information (quantity of each article, total price...)

  • Checkout items using Stripe with a given test credit card information to use.

Reflection

This is a 3 week long project following a course built in order to learn React's advanced features and familiarizing myself with React ecosystem. I was planning to add many more features I had in mind, but I wasn't able to do so due to time constraints. I chose to use the create-react-app boilerplate to minimize initial setup and invest more time in diving into weird technological rabbit holes.

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.