Skip to content

Latest commit

 

History

History
75 lines (49 loc) · 2.66 KB

README.md

File metadata and controls

75 lines (49 loc) · 2.66 KB

Mode - Ecommerce Site

Mode

Mode is a web application that allows users to explore and purchase various products online. Visit the live site here.

Description

Mode is a platform for online shopping enthusiasts. Users can browse through a range of products and make purchases. Users can also manage their shopping carts and process payments securely. The application is deployed using Render, and the database is hosted on ElephantSQL.

Features

  • Browse Products: Users can explore a collection of products.
  • Shopping Cart Functionality: Users can add products to their shopping cart and view the details of their cart before checking out.
  • User Authentication: Users can register and log in to view their order history.
  • Secure Online Payment: Users can process their payments securely with Stripe integration.

These features were implemented to create an engaging and personalized experience for users, allowing them to have a seamless online shopping experience.

User Flow

  • Users can view featured products listed on the homepage.
  • Users can add specific products to their shopping cart.
  • Guests as well as authenticated users can make purchases.
  • Users can proceed to checkout, process their payments, and view their order history.
  • Users can manage their profile and view past transactions.

API

Mode utilizes the Stripe API for payment processing. The API provides a secure method for processing online payments.

Running Tests

This project uses Jest and React Testing Library for frontend testing and Jest for backend testing.

To run the tests, navigate to either the frontend or backend directory and run the following command:

$ npm test

How to Run

# Clone Repository
$ git clone https://github.com/hollyabrams/capstone-project-2.git

# Navigate to the frontend directory and install dependencies
$ cd frontend
$ npm install

# Start the frontend server
$ npm start

# In a new terminal window, navigate to the backend directory and install dependencies
$ cd backend
$ npm install

# Start the backend server
$ npm start

Technology Stack

  • Front-end: React.js, Tailwind CSS
  • Back-end: Node.js
  • Payment Processing: Stripe API
  • Database: PostgreSQL

Deployment

The application is deployed using Render, and the PostgreSQL database is hosted on ElephantSQL.

Additional Notes

Mode is designed to provide a seamless and secure online shopping experience. If you have any suggestions or feedback, please feel free to contribute to the project.