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.
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.
The component diagram also showcases our initial plan. However, the Deal Slider component was left out due to time constraints.
The technologies we used to build the front end of this project include:
- JavaScript + React
- HTML
- CSS
- The server-side API assigned to our group
Server-side API Instructions:
- Ensure the following are installed on your machine:
- Intellij IDEA , running with JDK 17
- Postgres
- Postman
- Postico
-
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 -
Create a new PostgreSQL database named 'grechimo_marketplace' anywhere in your terminal.
create db grechimo_marketplace -
Via Intellij IDEA, run the
GrechimoMarketplaceApplicationand make sure the API is running on port 8080. -
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:
- Ensure the following are installed on your machine:
- Visual Studio Code
-
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 -
Install node modules.
In your terminal, perform the following command:npm installornpm i -
Install React Icons.
In your terminal, perform the following command:npm i react-icons -
Install React Slick.
In your terminal, perform the following command:npm i react-slick -
Install React Router.
In your terminal, perform the following command:npm install react-router-dom@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 tohttp://localhost:3000using your preferred browser.
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.
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.
- Aya Hezam (Github: aya-rh)
- Diana Eboegbulem (Github: PrincessDiana1)
- Thinesan Manoseelan (Github: thinesan29)

