SHANI1711 / CrediBuy

CrediBuy is an e-commerce web application designed to streamline the online product purchase process. Here sellers can list various products for sale, and users can buy the selected products. Users can also search for their desired products directly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CrediBuy

  • CrediBuy is an e-commerce web application designed to streamline the online product purchase process. It is deployed on an Amazon EC2 instance sitting inside Virtual Private Cloud. The backend is deployed on the private subnet, and the front end is on the public subnet.

  • Here sellers can list various products for sale, and users can buy the selected products. Users can also search for their desired products directly. They can add products to a cart, change the quantity and choose a payment method, and cancel an order after placing it if they have changed their mind. Users will get notified after successful order placement.

  • Admins can see the list of products listed for sale, delete or add new products, update product details, and see the list of orders placed on CrediBuy. Moreover, sellers can also reject orders for a specific reason, and the user will get notified via email about the cancelation.

Getting Started

Prerequisites to run the application

Create .env file at the root level and create an environment variable. This file will look like this:

JWT_SECRET=<ENTER JWT SECRET>
REGION=<AWS REGION>
ACCESSKEYID=<AWS ACCESSKEY ID>
SECRETKEY=<AWS SECRET KEY>
SESSIONTOCKEN=<AWS SECRET TOCKEN>

  • Node and npm is the primary requirement. Run the following command to check if node and npm is available in your system:
node -v
npm -v
  • Git cli: Download Git command line interface using this link. run the following command:
git -v

How to run application

After Installing Git,

The first step is to clone the repo in your machine using the below command.

Next, Change the directory to the frontend side of the project using:

cd .\CrediBuy\frontend

Next step is, run the below command to instal all the packages and dependencies that is required to run the Assignment.

npm install

You are all set and now just run the client side using following command.

npm start

Now, To run the server side, open the cmd with the path of the project's repo.

Next, Change the directory to the backend side of the project using:

cd .\CrediBuy\backend

Next step is, run the below command to instal all the packages and dependencies that is required to run the Assignment.

npm install

You are all set and now just run the server side using following command.

npm start

Both theclient and server are now running.

Softwrae/Library/plug-in used

Built With:

Cloud Infrastructure

CrediBuy drawio

User Interface

Application Home Page

Screenshot 2023-04-28 at 12 15 52 PM

Admin Functions

Product Management

Screenshot 2023-04-28 at 12 16 27 PM

Create New Product

Screenshot 2023-04-28 at 12 17 28 PM

Order Management

Screenshot 2023-04-28 at 12 16 43 PM

User Management

Screenshot 2023-04-28 at 12 16 52 PM

User Functions

Product Details Page

Screenshot 2023-04-28 at 12 18 26 PM

Cart

Screenshot 2023-04-28 at 12 18 40 PM

Checkout

Screenshot 2023-04-28 at 12 19 25 PM

Order History

Screenshot 2023-04-28 at 12 19 48 PM

Profile Management

Screenshot 2023-04-28 at 12 20 26 PM

About

CrediBuy is an e-commerce web application designed to streamline the online product purchase process. Here sellers can list various products for sale, and users can buy the selected products. Users can also search for their desired products directly.


Languages

Language:JavaScript 82.6%Language:CSS 13.0%Language:HTML 4.4%