-
In terminal
cd
into project folderrockbot-assesment
-
In project folder run
npm install
-
GET
andPOST
requests requireheaders
withauthorization
key and a uniqueAPI KEY
as a valueheaders: { authorization: process.env.REACT_APP_API_KEY, }
-
Create a file in the root folder with the name
.env
-
Add
REACT_APP_API_KEY=API KEY
, make sure there are no spaces and no single or double quotation marks. -
Run
npm start