Shopbud is a mobile application that compares prices accross ecommerce websites such as best buy and ebay
This project was made as a part of coursework CS 641 - Mobile Web Development at Pace University.
The application is build using Ionic framework with Angular. CSS3 and ionic provided custom animations is used for styling.
This document will help set up local environment to run this project locally.
From your terminal/command line, run the following command to check if NodeJS is installed in your system:
You should see a version number, and the version number should be at least 8.9.0.
If you have NodeJS installed, check if npm is installed by running the following command:
You should see a version number, and the version number should be at least 5.5.1.
If you dont see a version number, then grab the LTS installer from NodeJS.org to install NodeJS. If it asks you to also install NPM, say yes!
Let's make sure that you also have crdova and ionic installed.
Clone this repository using your git client!
The repository URL is 'https://github.com/jalpaashara/shopbud.git'. If you've never done this before, you want to go into your terminal or git bash and type:
This will clone the repository into your current working directory.
Once the repository is cloned, enter that directory in your terminal, and run
You can also add the platform(iOs or Android or browser if you want a webapp that runs on a browser instead of an app) on which you might want to run this application.
OR you can just restore the platform that I have used which is the browser mode using the following command.
Don't get scared if you see a www folder being created as well. www is the compiled code, every time you build your project the www content is erased and created again. You can also deploy your application on the web using the code that is inside the www folder.
Before you can run the application, you will need an API key for Bestbuy and eBay APIs that is used in this application.
Once you have the API key, use them in the environment.ts file which can be found in src/environments folder
And finally to run the application type in the below command in your terminal:
To run the app directly on your mobile (if you have windows machine then android phone is required) use the following command while plugged in to the machine:
use ios for iPhone and android for Android phones
Runs the app in the development mode.
Open http://localhost:8100 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.