Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 2.79 KB

README.md

File metadata and controls

41 lines (29 loc) · 2.79 KB

LMD Roast!

An e-commerce site with cloud storage, third-party authentication and payment for people who want the rarest coffee beans and want them now

React - Redux - Firebase - Google API - Node/Express - Stripe

This app was deployed on Heroku at https://lmd-roast.herokuapp.com/ - heroku apps can be slow to load so it may be a good time to get a cup of coffee while you wait ☺️

React logo  React: A library that allows declarative programming with reusable components and uni-directional data flow

Redux logo  Redux: For switching from local to single + global sources of state in order to future-proof the app by making it scalable

Firebase logo  Firebase: For users to manually sign-in and be authenticated/stored on the Firebase database

Google logo  Google API: For users to be authenticated and sign-in with their Google accounts

NodeExpress logo  Node + Express: Used as a backend for the processing of Stripe payments

Stripe logo  Stripe API: For users to easily pay for their items


Overview of the whole app

github

Checking-out with payment and address details via the Stripe API

github

Manually signing-in as an existing user and having user data requested from the Firebase database

github

Signing-in and being authenticated as a Google user

github


If cloning this repo, you'll need the following:

  1. Firebase account with configuration details like apiKey (add to the src/firebase/firebase.utils.js file)
  2. Gmail account for 3rd party sign-in and authentication (enabled via the Firebase authentication tab)
  3. A Stripe account to use its API for payments (add the secret key to the dotenv file and require it in Express)
  4. Once downloaded, run this terminal command in both the root and client folder of the project: npm install
  5. Use terminal command in both root and client to open the app in a browser: npm start
  6. Set up security in the firebase console's Cloud Firestore section's Rules tab