https://photo-album.guswillemann.vercel.app
This project is the Front End Activity from Leadster hiring process.
- The project must be a photo album site;
- Should get the photos from the Pexels API;
- Should have responsive layout;
- Should have pagination;
- Should have a Header and a Footer;
- Should have a github repository;
- Should have a README;
- clone:
git clone https://github.com/guswillemann/photo-album
- install:
yarn install
# or
npm install
This project uses a environment variable for the Pexels API authorization key.
To get a key use the link: https://www.pexels.com/api/new/
With the key in hand, set it on a .env.local
file in the project root.
Template file available: .example.env.local
:
EXTERNAL_PHOTOS_API_KEY="--> Your Key <--"
- initialize server:
yarn dev
# or
npm run dev
- running tests:
yarn test
# or
npm run test