Skip to content

thinesan29/BNTA_FrontEnd_GroupProject

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maven Market Frontend Group Project

Project Description

Our project involved creating a React front-end application that provides a user-friendly interface for one of the server-side APIs developed by another backend group during week 6 of the boot camp. By leveraging React's many tools and features, we were able to design an effective interface that showcases the functionality of our API.

This project was bootstrapped with Create React App.


Diagrams

Wireframe Diagram

The wireframe represents the skeleton of our e-commerce website and showcases our initial plan. However, the deal slider section was not included in the actual website due to time constraints.

UML_Diagram.png

Component Diagram

The component diagram also showcases our initial plan. However, the Deal Slider component was left out due to time constraints.

UML_Diagram.png


Tech Stack

The technologies we used to build the front end of this project include:


Setup Instructions

Server-side API Instructions:

  1. Ensure the following are installed on your machine:
  • Intellij IDEA , running with JDK 17
  • Postgres
  • Postman
  • Postico
  1. Clone the repository from GitHub. Scroll to the top of this page and click on the green Code button. Ensure SSH is selected and copy the link provided. In your terminal, perform the following command:
    git clone git@github.com:ChinikaC/BackEnd_Project.git

  2. Create a new PostgreSQL database named 'grechimo_marketplace' anywhere in your terminal.
    create db grechimo_marketplace

  3. Via Intellij IDEA, run the GrechimoMarketplaceApplication and make sure the API is running on port 8080.

  4. To ensure the endpoints are working as expected, you can test them using Postman. All endpoints are available in this link.


Client-side API Instructions:

  1. Ensure the following are installed on your machine:
  • Visual Studio Code
  1. Clone the repository from GitHub. Scroll to the top of this page and click on the green Code button. Ensure SSH is selected and copy the link provided. In your terminal, perform the following command:
    git clone git@github.com:aya-rh/front_end_project.git

  2. Install node modules.
    In your terminal, perform the following command: npm install or npm i

  3. Install React Icons.
    In your terminal, perform the following command: npm i react-icons

  4. Install React Slick.
    In your terminal, perform the following command: npm i react-slick

  5. Install React Router.
    In your terminal, perform the following command: npm install react-router-dom@6

  6. Run React App.
    In your terminal, perform the following command: npm start. The App should automatically open in the browser. If it doesn't, you can manually navigate to http://localhost:3000 using your preferred browser.


Routes

To navigate between pages on the React app, we configured the following routes using the React Router library:

Landing & Home Page: http://localhost:3000/Home

Contact Page: http://localhost:3000/Contact

Sellers Page: http://localhost:3000/Sellers

Subscribers Page: http://localhost:3000/Subscribers

Login Page: http://localhost:3000/Login

Cart Item Page: http://localhost:3000/Cart

Electronics Items Page: http://localhost:3000/Electronics

Gadget Page: This page doesn't exist so when the Gadget Link is clicked via homepage, it redirects the user back to the Home Page.


Future

If we had been granted additional time, we would have liked to add the following features to our project:

  • Update functionality that would allow users to edit product details.
  • Implementation of a deals slider to showcase a slightly different list of discounted products.
  • Further implementation of nested routes throughout the router to categorise products.
  • The inclusion of a search bar for more efficient product searches.

Collaborators

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 66.9%
  • CSS 27.6%
  • HTML 5.5%