Note
This was an interview process take home, not a real thing.
Find your next thing at hide-and-go-seeker.vercel.app.
- This is a Next.js project bootstrapped with
create-next-app
- Pexels API https://www.pexels.com/api/
- Hosted on Vercel
- npm preferred (we ignore all other lock files)
Get and set a Pexels API key
Create a new Pexels application and get an API key at https://www.pexels.com/api/. Make a copy of .env.example
named .env.local
. Set the value of PEXELS_API_KEY
to your API key.
PEXELS_API_KEY=1234567890
Install dependencies
npm i
Run development server
npm run dev
The site will be available at http://localhost:3000
To build a production bundle
npm run build
To run a production build locally
npm start
Hosted on Vercel. All code merged into main
is deployed to production.
All pull requests automatically have a preview deploy created. Check the PR for the URL.
This project uses Git hooks via husky and lint-staged to format any changed files with Prettier. We follow the recommended setup.
If you ever need to manually format all code with prettier, run:
npm run prettier