A single page coded with React. It displays various brands and has the ability to sort and filter brands according to name and industry. There is a NodeJS backend application used for filtering and sorting. It is also used to fetch the various brands from a MongoDB database.
- Display a list of brands.
- Sort brands by name.
- Filter brands by name and industry.
Follow these steps to set up the project:
-
Install Node.js:
If you don't have Node.js installed, download and install it from https://nodejs.org/.
-
Clone the repository:
git clone https://github.com/MosiaPuseletso/brand.git
-
Navigate to the project directory
cd brand -
Install dependencies for Frontend
npm install
-
Install dependencies for Backend
a. Navigate to backend directory
cd backendb. Install dependencies
npm install
-
Start backend server
npm start
-
Start React application
npm start
Visit http://localhost:3000 in your browser to view the application.