Gets the details of an object from the api, and displays them with pure JS
- Clone the repo
git clone git@github.com:otuzel/front-end-assignment.git
- Install NPM packages
npm install
-
Rename the file
.env.example
to.env
-
Enter your API secret key in
.env
SECRET = 'ENTER YOUR SECRET';
- Run this inside your project folder
npm start
- Go to
localhost:5000
(or any port you set inserver.js
)
Note: You can set object id in src/assets/js/index.js
file