This project was developed using Angular 5 and all of its latest dependencies. In order to get it running, you need the following packages installed globally:
The project might request Oauth2 access to your Foursquare profile in order to manage your tasks. The applicaton is also hosted at https://adyen-foursquare.herokuapp.com/.
After cloning the repository, run npm install
inside the directory to install all of its dependencies.
Run ng serve --proxy-config proxy.conf.json
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files. We need to set the proxy configuration since we are performing cross-domain requests and we have some CORS limitations.
Currently there are API keys being used for test purposes, you can change both Foursquare and Google Maps API keys at src/environments.ts
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.