This is a fullstack portfolio project built using:
- 🔥 Frontend: Next.js 15 (React)
- 🧠 Backend: Node.js + Express with Yahoo Finance API
- 🐳 Docker & Docker Compose for containerized local development
app/
├── backend/ # Express backend with stock polling
├── frontend/ # Next.js frontend (SSR ready)
├── docker-compose.yml
├── README.md # ← you're here
Make sure Docker is running, then run:
docker compose up --build- Frontend: http://localhost:3000
- Backend: http://localhost:8000
You must create .env files inside both frontend/ and backend/ directories.
Example for backend/.env:
PORT=8000
FRONTEND_URL=http://localhost:3000Example for frontend/.env:
NEXT_PUBLIC_BACKEND_URL=http://localhost:8000You can deploy the frontend (e.g., to Vercel) and backend (e.g., to Railway, Render, or EC2) separately. Make sure to update the env URLs accordingly.
To build both containers:
docker compose -f docker-compose.yml up --buildThis project is for educational and portfolio purposes.