Skip to content

A recreation of deplace maison ecoomerce website using React/Next JS with stripe payment integration and firebase for storing orders.

Notifications You must be signed in to change notification settings

destructo570/deplace-maison-ecommerce-webapp

Repository files navigation

Deplace Maison Ecommerce Webapp NextJs and ReactJS

A clone of deplace maison ecoomerce website using React/Next JS with stripe payment integration and firebase for storing orders.

Disclaimer

This project was made only for educational purposes, I do not own any of the content (product images, fonts etc.). All the credit goes to Deplace maison. This project was only meant to be created as part of frontend React/NextJs practice and learning. This project is not meant to be used for any other purposes.

I found out about the website on FrontendPractice You can checkout the original website here.

Features & Tech Stack

  • NextJs/ReactJS - Frontend and UI development
  • NodeJS - Backend development
  • Axios - Making asynchronus HTTP requests
  • NextAuth v4 - For user authentication via gmail
  • Stripe payment integration (webhooks)
  • StyledComponents - Styling all the react components.
  • Firebase Realtime DB - Getting products and other data.
  • Firebase Firestore DB - Storing orders after processing payments.
  • ContextApi for app wide state management
  • Local storage for storing user cart

🌈Screenshots

alt text alt text alt text alt text

Installation

  • Download the code
  • Open a npm terminal in root directory
npm install

Environment variable file

#Stripe
STRIPE_PUBLIC_KEY= 
STRIPE_SECRET_KEY= 

#Stripe Terminal/CLI
STRIPE_SIGNING_SECRET= 

HOST=http://localhost:3000

#Database
FIREBASE_SERVICE_ACC_KEY= 

#Authentication
GOOGLE_CLIENT_ID= 
GOOGLE_CLIENT_SECRET= 

//A random string used to hash tokens by NextAuth
SECRET= 

Building the project

  • Run the below command to start the development server
npm run dev
# or
yarn dev

Building for production

  • Run the below command to build the project for production
npm run build

Todo

  • Add animations
  • Add dark theme
  • Add page transitions

About

A recreation of deplace maison ecoomerce website using React/Next JS with stripe payment integration and firebase for storing orders.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published