Create .env
file with the following key:
NYT_API_KEY=you-new-york-times-api-key
First, run install project dependencies:
npm install
# or
yarn
run the development
server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
run the production
server:
npm run prod
# or
yarn prod
Open http://localhost:3000 with your browser to see the result.
run to test all testing files:
npm run test
# or
yarn test