HodlInfo is a web application that displays the latest cryptocurrency trading information from multiple platforms. This project uses Node.js, Express, MongoDB, and Axios to fetch data from the WazirX API and display it on a front-end built with HTML, CSS, and JavaScript.
- Fetches top 10 cryptocurrency trading data from the WazirX API
- Stores the data in MongoDB
- Displays the data in a table format on the front-end
- Automatically updates data every hour
- Node.js
- MongoDB
-
Clone the repository:
git clone https://github.com/Chetan-Jalandharia/hodlinfo.git cd hodlinfo
-
Install the required Node.js packages:
npm install
-
Start the Node.js server:
npm start
-
Open your browser and navigate to:
index.js: Main server file that sets up Express, connects to MongoDB, and fetches data from the WazirX API. public/index.html: HTML file for the front-end. public/styles.css: CSS file for styling the front-end. public/script.js: JavaScript file for fetching data from the server and populating the HTML table.
express: Fast, unopinionated, minimalist web framework for Node.js mongoose: MongoDB object modeling tool designed to work in an asynchronous environment axios: Promise based HTTP client for the browser and Node.js