A full-stack portfolio website with a React frontend and Node.js backend.
vibecode-portfolio/
├── client/ # React Vite frontend
├── server/ # Node.js TypeScript backend
├── package.json # Root package.json for managing both projects
└── README.md # This file
- Clone the repository:
git clone <your-repo-url>
cd vibecode-portfolio- Install dependencies for all projects:
npm run install-all-
Create environment files:
- For the client: Create
.envin the client directory - For the server: Create
.envin the server directory
- For the client: Create
-
Start development servers:
# Start both client and server
npm run dev
# Or start them separately
npm run client # Start only the client
npm run server # Start only the servernpm run install-all: Install dependencies for all projectsnpm run dev: Start both client and server in development modenpm run client: Start only the clientnpm run server: Start only the server
VITE_API_URL=http://localhost:5000
PORT=5000
NODE_ENV=development
MONGODB_URI=mongodb://localhost:27017/vibecode-portfolio