Skip to content

tylergaw/seeker

Repository files navigation

Seeker

Note

This was an interview process take home, not a real thing.

Find your next thing at hide-and-go-seeker.vercel.app.

Technology overview

Local development

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

Deployment

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.

Code formatting

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