Prerequisites
Before installing CryptoDash, ensure you have the following installed on your system:Node.js 16+
JavaScript runtime required to run CryptoDash
Package Manager
npm, yarn, or pnpm for dependency management
Git
Version control system for cloning the repository
Modern Browser
Chrome, Firefox, Safari, or Edge (latest version)
Verifying Prerequisites
Check if Node.js and npm are installed:Terminal
If Node.js is not installed, download it from nodejs.org. The LTS version is recommended.
Installation Steps
Follow these steps to install CryptoDash on your local machine:Clone the Repository
Clone the CryptoDash repository from GitHub:This creates a local copy of the project in a
Terminal
crypto-dash directory.Install Dependencies
Install all required npm packages:This will install all dependencies listed in
package.json, including:- React 19 and React DOM
- React Router 7 for routing
- Axios for API calls
- TailwindCSS 4 for styling
- Vite for development and build tooling
Configure Environment (Optional)
CryptoDash works out-of-the-box with the CoinGecko free API. However, you can customize API settings by creating a
.env file:.env
Build for Production
To create an optimized production build:Build the Application
Create a production-ready build:This creates an optimized build in the
dist/ directory with:- Minified JavaScript and CSS
- Code splitting for optimal performance
- Optimized assets and images
- Source maps for debugging
Project Structure
After installation, your project directory will look like this:Troubleshooting
Port 5173 is already in use
Port 5173 is already in use
If port 5173 is already occupied, Vite will automatically use the next available port. You can also specify a custom port:
Terminal
Module not found errors
Module not found errors
Delete
node_modules and reinstall dependencies:Terminal
API rate limit errors
API rate limit errors
CryptoDash uses the CoinGecko free tier which has rate limits (10-50 calls/minute). If you encounter rate limit errors:
- Wait a few minutes before refreshing
- Consider signing up for a CoinGecko Pro API key for higher limits
- Add your API key to the
.envfile asVITE_COINGECKO_API_KEY
Build fails with memory errors
Build fails with memory errors
If the build process fails due to memory issues, increase Node.js memory limit:
Terminal
Available Scripts
Here are all the available npm scripts:| Script | Description |
|---|---|
npm run dev | Start development server with hot reload |
npm run build | Create optimized production build |
npm run preview | Preview production build locally |
npm run lint | Run ESLint to check code quality |
Next Steps
Quick Start Guide
Now that you have CryptoDash installed, learn how to use its features in the Quick Start guide.
