This is a web application built using the MERN stack that allows us to fetch data using api from backend and show it in interface according to dropdown
The application is currently hosted at:
Backend Hosted at
https://oru-phones.onrender.com/
This application is built using the following technologies:
- MongoDB (Database)
- Express.js (Backend)
- React.js (Frontend)
- Node.js (Runtime Environment)
The following Queries are available in the application:
- Users which have income lower than $5 USD and have a car of brand “BMW” or “Mercedes”.
- Male Users which have phone price greater than 10,000.
- Users whose last name starts with “M” and has a quote character length greater than 15 and email includes his/her last name.
- Users which have a car of brand “BMW”, “Mercedes” or “Audi” and whose email does not include any digit.
- Show the data of top 10 cities which have the highest number of users and their average income.
Things that you need to run this app:
Follow these steps to get started with the application:
-
Clone the repository:
git clone https://github.com/Vswaroop04/Oruphones.git
-
Install dependencies:
cd frontend && npm install
&&cd backend && npm install
-
Create a .env file in the Backend directory and add the following environment variables:
mongo_password=<mongodb_userpassword>
- Start the server and the client: 'cd frontend && node start
&&
cd Backend && node App.js`