My example of a simple Svelte application using the Pexels api to search photos.
git clone https://github.com/Tsugumik/svelte-photo-app
cd svelte-photo-app
npm install
Then create .env file in root directory of the project and provide your Pexels api key.
PEXELS_API_KEY=YOUR_API_KEY
npm run build
node build
npm run dev