A very basic clone of UnSplash. The project is built for the interview test at DevSamurai. This is not a full-fledged app, but rather for educational purposes.
No demo at the moment since my Vercel account is at 80% of the 1000 image optimization limit...
I only implemented very basic features of UnSplash:
- List of photos, grouped by topics
- Search photos by keywords
- The current UnSplash API limits the number of results to 30 per page.
- No responsive due to time limitation (school work) on my end
- Topics could have been broader
- Next
- SWR for data fetching (client side)
You can run the app locally by following these steps:
- Clone the repo
- Install dependencies:
npm install
- Add your UnSplash API key to
.env.local
file, refer to.env.example
for the format - Run
npm run dev
to start the server for development - Run
npm run build
thennpm start
to start the server for production
The source code of the project is licensed under the MIT License, refer to the LICENSE for more details. All credits belong to the DevSamurai team.