This project was generated with Angular CLI version 10.1.7.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Here I used a proxy
src/proxy.conf.js
for CORS, because Sportify doesn't allow create account for Sri Lanka
Dev environment api endpoint setup in
src/proxy.conf.js
Production api endpoint setup in
src/environments/environment.prod.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.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.