Follow these steps to deploy the application:
- Create a .env file: This file should be in the root directory of the project.
- Get your Pexels API key: Visit Pexels API to get your API key.
- Add your API key to the .env file: Add the following line to your .env file:
Replace
VITE_REACT_API_KEY = "YOUR API KEY"
"YOUR API KEY"
with the actual API key you got from Pexels. - Install Dependencies: To install all the necessary dependencies, run the following command
npm install
- Start Server: Lastly, you can run the following command to start the server
npm run dev
Click here to view the website demo!