A full-stack cryptocurrency research and portfolio application built with React, Node.js, and MongoDB. It combines market data, financial news, portfolio tracking, and a Gemini-powered assistant.
- Real-time Cryptocurrency Data: Live price tracking and market information
- AI-Powered Chat: Interactive chat system with intelligent responses
- User Authentication: Secure login and registration system
- News Aggregation: Latest cryptocurrency news from multiple sources
- Portfolio Management: Track your crypto investments
- Responsive Design: Works on desktop and mobile devices
- React 18
- Vite
- Tailwind CSS
- Axios for API calls
- Node.js with Express
- MongoDB with Mongoose
- JWT Authentication
- RESTful API design
- Alpha Vantage (Financial News)
- Twelve Data (Crypto Prices)
- Google Gemini (chat functionality)
- CoinGecko (market data)
- Node.js 20 or higher
- MongoDB (local or Docker)
- Docker (optional, for containerized deployment)
-
Clone the repository
git clone https://github.com/eppm27/CryptoChat.git cd CryptoChat -
Install dependencies
npm install cd backend && npm install cd ../frontend && npm install
-
Set up environment variables
cp backend/.env.example backend/.env
Update
backend/.envwith your own database URL, secrets, and API keys. -
Start MongoDB
docker run -d --name mongodb -p 27017:27017 mongo:6
-
Run the application
# Backend npm run start:backend # Frontend (new terminal) npm run start:frontend
Required API keys in .env:
- MONGODB_URI
- JWT_SECRET
- GEMINI_API_KEY
- ALPHA_VANTAGE_API_KEY
- TWELVE_DATA_API_KEY
See backend/.env.example for the complete configuration. For deployment, set NODE_ENV=production and FRONTEND_URL to the deployed frontend origin.
npm test
npm run lint
npm run buildCryptoChat began as a UNSW COMP3900 team capstone project. This repository is maintained by Ellis Mon as a portfolio version of the application.
- Register/Login to create an account, or choose Explore recruiter demo to use sample data without credentials
- Explore real-time cryptocurrency markets
- Use the AI-powered chat system
- Read the latest crypto news
- Manage your portfolio
The root Dockerfile produces one deployable image containing the Express API and compiled React frontend. This keeps authentication and API requests on the same origin and requires one web service plus MongoDB Atlas.
- Create a MongoDB Atlas cluster and obtain its connection string.
- Create a Render Blueprint from this repository using
render.yaml. - Set
MONGODB_URIandMONGODB_URI_CRYPTOto the Atlas connection strings. - Set
FRONTEND_URLto the final Render URL, such ashttps://cryptochat.onrender.com. - Add credentials for the live integrations you want enabled.
- Deploy and confirm
/healthreturns{ "status": "ok" }.
The recruiter demo remains usable when optional market, news, AI, and email credentials are not configured.
- Link directly to the deployed app and label it Live demo.
- State that recruiter-demo data is intentionally simulated.
- Include one dashboard screenshot and one AI-chat screenshot.
- Describe it as a team capstone and state your own contributions precisely.
- Never commit
.env, Atlas credentials, email passwords, or API keys.
Created by Ellis Mon as a personal cryptocurrency trading and chat application.
Made with ❤️ using React, Node.js, and MongoDB