npm install -g @ionic/c
ionic start lithium blank --type=angular
==> export API_KEY=<API_KEY_FROM https://www.themoviedb.org/>
==> echo $API_KEY
<API_KEY>
==> export PRODUCTION=false
==> echo $PRODUCTION
false
Then run
==> npm run build
to generate the environment.ts file with the API key.
==> ionic serve
ionic g page projects
ionic g service services/movie
Built using Ionic v7 https://ionicframework.com/docs/ and Angular v17