Responsive application that provides your physical IP location and any website that you want to locate.
- Dependencies
- Configuration
- Open your terminal;
- Run the command
git clone [email protected]:gdomiciano/ui-challenge.git
to clone the project - Go to project folder;
- Run the command
npm install
; - Run the command
nodejs server.js
; - Open a new tab in your terminal
- Go to project folder then to public folder
- Run
npm install
; - Run
grunt build
; - On your browser access http://localhost:3000 .
- How to run tests
- Go to project folder then to public folder
- Run
npm test
;
- Troubleshooting
- if you get some error trying run the tests, you must run the following command:
npm install -g karma karma-jasmine karma-chrome-launcher
- if you get some error trying run the tests, you must run the following command:
- Angular JS
- jQuery
- ngMap
- Bootstrap
- SaSS
- Jasmine
- Karma
- Grunt
- IP locate API : http://ip-api.com/json/
- If your tablet/smartphone is in the same network that your computer you can access the project by the url http://<your_computer_IP>:3000 ;
- I suggest you to use google Chrome to test the application;
- Will be better if you run the application on Linux or Mac Os.