Giter Site home page Giter Site logo

drippster's Introduction

Drippster

Description

Ecommerce App which is calling a external api and pulling the data regarding the products

This project is a full-stack e-commerce application that allows users to browse products, add them to their cart, and complete purchases through an integrated payment system. The frontend is built with React and uses Redux for state management, React Toastify for notifications, and Stripe for payment processing. The backend is powered by Express.js and uses MongoDB and Mongoose for database management.

Table of Contents

Installation

Prerequisites

  • Node.js
  • MongoDB
  • Stripe account

Backend

  1. Clone the repository

    git clone https://github.com/ShivanshCharak/Drippster
  2. Navigate to the backend directory

    cd backend
  3. Install dependencies

    npm install
  4. Set up environment variables in a .env file

    PORT=8000
    MONGO_URI=your_mongo_uri
    STRIPE_SECRET_KEY=your_stripe_secret_key
  5. Start the backend server

    npm start

Frontend

  1. Navigate to the frontend directory

    cd frontend
  2. Install dependencies

    npm install
  3. Set up environment variables in a .env file

    REACT_APP_STRIPE_PUBLIC_KEY=your_stripe_public_key
    BACKEND_URL=http://localhost:5000
  4. Start the frontend development server

    npm start

Usage

  1. Open your browser and navigate to http://localhost:3000.
  2. Browse products, add them to your cart, and proceed to checkout.

Tech Stack

Frontend

  • React: A JavaScript library for building user interfaces.
  • Redux: It is used to work with products, which will help the code to find the price and the product has been added to the cart.
  • React Toastify: A library for displaying notifications in your React app.
  • Stripe: A technology company that builds economic infrastructure for the internet, used here for payment processing.

Backend

  • Express.js: A web application framework for Node.js.
  • MongoDB: A NoSQL database program, using JSON-like documents with optional schemas.
  • Mongoose: An Object Data Modeling (ODM) library for MongoDB and Node.js.
  • Stripe: Used for handling payments on the backend as well.

Features

  • User authentication and authorization.
  • Product listing and details.
  • Shopping cart and checkout process.
  • Payment processing with Stripe.

drippster's People

Contributors

shivanshcharak avatar

Watchers

 avatar

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.