Emmeded the Unsplash API inside an Angular Application, generated with Angular CLI version 13.3.1.
npm install
- Enter your unsplash
accessKey
inside theenvironment.ts
- Leave
accessKey
equals""
to enter Demo Mode
- Leave
npm start
- Get a Release Version "link"
- Start a http server
- https://gist.github.com/willurd/5720255
- Caution: Wrong Settings leads to non working angular router
If you have no accessKey
you can use this Application in Demo Mode
.
In Demo Mode
this Application has not connection to the unsplash Server and returns the static values inside the assets/demo-image-response.json
file.