- Make sure you have nodeJS && git in your pc.
- Clone this repo
- Create file name .env to root folder and add your New York times api key into your .env file.
- REACT_APP_APIKEY=xxxxxx (xxx is your api key)
- Open terminal in root location
- npm install
- npm start
root folder:
new york time App
├── README.md
├── node_modules
├── package.json
├── .gitignore
├── .env << create new one by your own
├── public
│ └─ ...rest
└── src
└──...rest
.env file:
REACT_APP_APIKEY=YOUR_NEWYORKTIMES_APIKEY