/HODLINFO_CLONE

A Repo of HODLINFO_CLONE using Node.js, Express.js and PostgreSQL for backend and simple HTML,CSS in Frontend.

Primary LanguageJavaScript

HODLINFO_CLONE

A Repo of HODLINFO_CLONE for Internship Interview Task using Node.js, Express.js and PostgreSQL for backend and simple HTML,CSS in Frontend.

Top 10 results from api(https://api.wazirx.com/api/v2/tickers) is fetched in Nodejs express server and name, last, buy, Sell, volume, base_unit of all top 10 results in the database (PostgreSQL) is stored.

A route using express to get the above stored data from the database to the frontend is also created.


An Addtional/extra Route is also created to update Data in database(PosgreSQL) by fetching the latest data from Wazirx api.
https://hodlinfo-clone-api.herokuapp.com/datafromdb/updatedata

Live Deployed FrontEnd Website :- https://hodlinfo-clone.netlify.app/

Screenshots :-

signup Screenshot


signup Screenshot

To Run the Backend Nodejs API in Local machine

   $ git clone the above repo OR git clone https://github.com/PnCodeBreaker/HODLINFO_ClONE.git
   $ cd to the directory and cd to backend_api
   $ npm install ( node.js must be installed )
   $ if local postgres is to be connected with the api then setup the config accordingly in new Pool() which is in models/db.js otherwise ignore as postgres is hosted in heroku
   $ use nodemon to start the API OR use node index.js